jupyter kernelspec install --user ./mykernel

Category: Data Science & Analysis

jupyter kernelspec install --user ./mykernel

Register a local kernel with Jupyter

The kernelspec install command registers a kernel directory, here ./mykernel containing a kernel.json, so it appears in the launcher. The --user flag installs it for the current account instead of system-wide, avoiding permission issues. Kernel specs point to the interpreter and its display name. Re-run after changing the kernel configuration.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.