Installation¶
You can install marimo alongside your notebook's packages using any major Python
package manager. With pip or Conda, you'll first need to create and activate a
virtual environment
or Conda
environment.
Project managers such as uv and Pixi handle this setup automatically when you
launch marimo from your project with uv run or pixi run.
Try a standalone notebook
uv and Pixi can manage Python and install marimo for you without setting up a project. To try a notebook with its own dependencies:
To add marimo to an existing codebase, see working in projects. See package management to compare projects and notebook sandboxes.
Use our editor extensions
Try our VS Code extension, which works in VS Code, Cursor, and other VS Code forks, or our PyCharm plugin.
Install with minimal dependencies¶
To install marimo, run the following in a terminal:
From your project directory (run uv init first for a new project):
To check if the install worked, run
From your project directory (run pixi init --format pyproject first for a new project):
To check if the install worked, run
A tutorial notebook should open in your browser.
Installation issues?
Having installation issues? Reach out to us at GitHub or on Discord.
Install with recommended dependencies¶
marimo is lightweight, with few dependencies, to maximize compatibility with your own environments.
To unlock additional features in the marimo editor, including SQL cells,
AI completion, server-side plotting of dataframe columns, and more, we
suggest installing marimo[recommended]:
Installing marimo in this way installs the following additional dependencies and unlocks the following features:
| Dependency | Feature |
|---|---|
| duckdb>=1.0.0 | SQL cells |
| altair>=5.4.0 | Plotting in datasource viewer |
| polars[pyarrow]>=1.9.0 | SQL output back in Python |
| sqlglot[c]>=23.4 | SQL cells parsing |
| openai>=1.55.3 | AI features |
| ruff | Formatting |
| nbformat>=5.7.0 | Export as IPYNB |
| vegafusion>=2.0.0 | Performant charting |
| vl-convert-python>=1.0.0 | Required by vegafusion |