LinuxCommandLibrary

jupyterlab

Launch the JupyterLab interactive development environment

TLDR

View documentation for the original command

$ tldr jupyter lab
copy

SYNOPSIS

jupyter lab [options] [notebook-dir]

PARAMETERS

--allow-root
    Allow running as root (insecure)

--app-dir=<DIR>
    JupyterLab app directory

--browser=<BROWSER>
    Browser to open (e.g., chrome)

--certfile=<FILE>
    SSL certificate file

--debug
    Activate debug logging

--dev-mode
    Enable developer mode

--generate-config
    Generate default config file

--ip=<IP>
    IP address to listen on (default: all)

--no-browser
    Do not open browser automatically

--notebook-dir=<DIR>
    Working directory

--port=<NUM>
    Port to listen on (default: 8888)

--port-retries=<NUM>
    Retry port binding (default: 50)

--token=<TOKEN>
    Set access token

--ServerApp.password=<PASS>
    Set hashed password

DESCRIPTION

JupyterLab is a flexible, extensible, web-based interactive development environment for Jupyter notebooks, code, and data. It succeeds the classic Jupyter Notebook interface, providing a tabbed layout with support for notebooks, consoles, terminals, text editors, and custom components via a rich extension ecosystem.

Key features include a file browser, multi-language kernel support (Python default), drag-and-drop workspace customization, version control integration (Git), and variable inspectors. It's ideal for data science, machine learning, scientific research, and education, enabling reproducible workflows in a browser.

Invoke jupyter lab to start a local Tornado server (default: http://localhost:8888/lab). It auto-opens the browser or serves manually. Customize via config files (~/.jupyter/jupyter_lab_config.py) for themes, shortcuts, and servers. Secure with tokens or passwords; extensions enhance functionality like diagrams (jupyterlab-drawio) or big data viewers.

Requires Python 3.7+, installed via pip install jupyterlab or conda. Widely adopted in academia and industry for its productivity boost over notebooks.

CAVEATS

Runs an unauthenticated web server by default (use --token or password); insecure for root or public access without SSL/firewall. High memory use with many tabs/extensions. Not for production; use JupyterHub.

INSTALLATION

pip install --upgrade jupyterlab
or conda install -c conda-forge jupyterlab

EXTENSIONS

Manage with jupyter labextension (pre-3.0) or jupyter lab build for federated. E.g., pip install jupyterlab-git.

CONFIG

Edit ~/.jupyter/jupyter_lab_config.py for themes, shortcuts, kernels.

HISTORY

Project Jupyter (2014) evolved from IPython; JupyterLab alpha (2016), beta (2018), 1.0 stable (2019). Now default frontend (3.0+), actively developed by Jupyter team/NumFOCUS.

SEE ALSO

jupyter(1), jupyter-notebook(1), jupyter-server(1), pip(1)

Copied to clipboard