jupyter

jupyter

TLDR

Start a Jupyter notebook server in the current directory

$ jupyter notebook
copy


Open a specific Jupyter notebook
$ jupyter notebook [example.ipynb]
copy


Export a specific Jupyter notebook into another format
$ jupyter nbconvert --to [html|markdown|pdf|script] [example.ipynb]
copy


Start a server on a specific port
$ jupyter notebook --port=[port]
copy


List currently running notebook servers
$ jupyter notebook list
copy


Stop the currently running server
$ jupyter notebook stop
copy


Start JupyterLab, if installed, in the current directory
$ jupyter lab
copy

SYNOPSIS

jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir] [--paths] [--json] [subcommand]

positional arguments:

subcommand

the subcommand to launch

optional arguments:

-h, --help

show this help message and exit

--version

show the jupyter command's version and exit

--config-dir

show Jupyter config dir

--data-dir

show Jupyter data dir

--runtime-dir

show Jupyter runtime dir

--paths

show all Jupyter paths. Add --json for machine-readable format.

--json

output paths as machine-readable json

Available subcommands: migrate troubleshoot

Copied to clipboard