What Is Jupyter? Lab, Notebook, Kernels, and a First Run
Jupyter is an interactive-computing project and ecosystem, not just one application. Learn how the web editor, server, and language kernel differ, then start a local Python notebook and verify its first result.
Is Jupyter a single program?
Jupyter is an open-source project for tools that let people run interactive computing alongside explanations. Depending on context, “Jupyter” can mean the project, an application for editing notebooks, or a notebook file. So “I installed Jupyter” does not identify which editor or execution environment is meant. If you are beginning data analysis, distinguish the browser-based JupyterLab or Jupyter Notebook interface, the language kernel that executes code, and Jupyter Server, which connects them.
“Notebook” also has two meanings. Jupyter Notebook is an editor application, while .ipynb is a notebook file format that stores code, explanations, outputs, and metadata. JupyterLab is a web workspace where several documents and tools can be arranged in tabs and panels. Both can author and run notebooks; the better fit depends on your workflow and familiarity. The separate “Notebook” article explains notebook cells and reproducibility in general.
How does code in the browser reach Python?
A local Jupyter session looks like one app, but its parts cooperate. When you run a cell in JupyterLab, the browser interface sends a request to Jupyter Server. The server manages notebook files and sessions and communicates with that notebook’s kernel. A kernel is a separate process that executes code in the selected language; it returns results through the server to the browser. When saved, the document and its outputs may also be recorded in the .ipynb file.
Browser editor → Jupyter Server → language kernel → result → displayed in editor / saved in notebook fileThis distinction helps diagnose problems. If the interface opens but no runnable kernel is available, check the editor installation and language environment separately. Conversely, a running kernel does not save changes to disk unless the notebook is saved. Jupyter is not a programming language; Python is one commonly selected kernel. To use another language such as R or Julia, install that language runtime and a compatible Jupyter kernel.
How do I start JupyterLab on my computer?
These steps assume terminal-launched JupyterLab and a Python environment. You need Python and access to a command line. Environment activation varies by operating system, so follow your team’s setup guidance if one exists. An isolated environment helps keep a project’s packages separate from other work.
In the project folder, create a Python virtual environment:
python -m venv .venvIn Windows PowerShell, activate it with:
.\.venv\Scripts\Activate.ps1In a macOS or Linux shell, use:
source .venv/bin/activateIn that same activated terminal, install JupyterLab and the IPython kernel, then register this Python as a selectable kernel:
python -m pip install jupyterlab ipykernel
python -m ipykernel install --user --name analysis --display-name "Python (analysis)"
jupyter labWhen the JupyterLab page opens in your browser, create a notebook and select the Python (analysis) kernel. Run print(2 + 2) in a code cell; seeing 4 is a minimal execution check. Save the notebook and confirm that an .ipynb file appears in the project folder. JupyterLab uses the current working folder as its starting location, so launch it from a project folder where you can find your notebooks.
If Python (analysis) is missing from the kernel list, check that JupyterLab and the registration command used the same Python environment, then inspect registered kernels with jupyter kernelspec list. If installation fails because of a corporate proxy or package repository access, keep the error message, check your organization’s proxy setup, and retry. If PowerShell’s policy blocks script activation, do not lower the policy blindly; use an activation method approved for your organization or verify the paths for python -m pip and jupyter lab in that environment.
Which should I choose: Notebook, Lab, or Hub?
Jupyter Notebook is a focused, straightforward web editor for notebook documents. JupyterLab is a more extensible workspace for arranging multiple notebooks and tools, such as a file browser. They are editor choices that can work with the same Jupyter notebook format, not different document formats. Start with the environment specified by your project or course. If you can choose, decide whether you want to work with one document simply or view several files side by side.
JupyterHub is not an editor. It manages login, request routing, and user-specific servers when multiple people connect through a browser. A solo local session usually does not need it; a team Hub needs an operational setup for authentication and server resources. Exposing a personal Jupyter Server to the internet for multiple people does not solve authorization or file-conflict problems.
Anyone who can access a server may run arbitrary code in a notebook. Jupyter Server uses token authentication by default, so treat the authentication URL or token printed in the terminal like a password; do not copy it into public posts or chats. For local use, keep the default local access and do not disable authentication or open the port to the outside. For remote access, use a deployment with authentication, HTTPS, and network access controls as described in the administrator documentation, rather than exposing a single-user server as-is.
The key when choosing Jupyter is the role you need, not just the app name. To explore an analysis on your computer, start an editor and kernel in one Python environment. If multiple users need a shared service, consider JupyterHub or a managed service. Knowing the boundary between interface, server, and kernel also tells you where to look when installation or execution fails.
References
Project Jupyter, What is Jupyter? https://docs.jupyter.org/en/stable/what_is_jupyter.html
Project Jupyter, Install and Use https://docs.jupyter.org/en/stable/install.html
JupyterLab, Installation https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html
JupyterLab, Starting JupyterLab https://jupyterlab.readthedocs.io/en/stable/getting_started/starting.html
Project Jupyter, Installing Kernels https://docs.jupyter.org/en/stable/install/kernels.html
IPython, Installing the IPython kernel https://ipython.readthedocs.io/en/stable/install/kernel_install.html
Jupyter Server, Security in the Jupyter Server https://jupyter-server.readthedocs.io/en/stable/operators/security.html
JupyterHub, Technical Overview https://jupyterhub.readthedocs.io/en/stable/reference/technical-overview.html