fish-kernel is a Jupyter kernel implementation for the fish shell.
- Python
>=3.10 fishcommand available onPATH- Jupyter frontend (
jupyterlabor notebook) - Supported OS: Linux, macOS, and Windows (WSL)
- Native Windows is not supported (fish shell dependency)
pip install fish-kernelInstall from the conda-forge channel with conda, mamba, or pixi:
conda install -c conda-forge fish-kernelmamba install -c conda-forge fish-kernelpixi add fish-kernelAfter installation, register the kernelspec.
fish-kernel add requires one of --user, --sys-prefix, or --prefix.
fish-kernel install is an alias of fish-kernel add.
Install for your user account:
fish-kernel add --userOr install into the current Python environment:
fish-kernel add --sys-prefixAfter installation, verify the kernel is registered:
jupyter kernelspec listYou should see a fish kernel entry.
To unregister the kernelspec, run:
fish-kernel removefish-kernel uninstall is an alias of fish-kernel remove.
Unlike add, a target option is optional. With no options, remove deletes
whichever installed copy it finds first. If you installed the kernel into
more than one scope (for example both --user and --sys-prefix), pass the
matching option to target a specific one:
fish-kernel remove --user
fish-kernel remove --sys-prefix
fish-kernel remove --prefix /path/to/prefixgit clone https://github.com/eunos-1128/fish-kernel.git
cd fish-kernel
uv sync --dev
uv run pytest
uv run fish-kernel install --sys-prefix
uv run jupyter kernelspec listBuild docs locally with Sphinx + Furo:
uv sync --dev
uv run sphinx-build -b html docs docs/_build/htmlSimple calculation:
set a 7
set b 13
math $a + $bThis project was developed with inspiration from:
