docs/guides/editor_features/home.md
Running marimo edit without a filename opens the home page, which lets you
browse and manage notebooks in a directory.
# Open home page for current directory
marimo edit
# Open home page for a specific folder
marimo edit folder/
The home page shows all marimo notebooks in the directory, letting you:
You can run the home page in sandbox mode (called "Sandboxed Home"), where each notebook gets its own isolated environment:
marimo edit --sandbox folder/
When using Sandboxed Home:
This is useful when you have a collection of notebooks with different dependencies and want to keep them isolated from each other.
!!! note "Additional dependencies required"
Sandboxed Home requires additional packages:
```bash
uv add 'marimo[sandbox]'
```
This installs `pyzmq` (for inter-process communication) and `uv`
(for environment management).
When using Sandboxed Home, you can specify an existing virtual environment
for a notebook instead of having marimo create one automatically.
This is configured using [tool.marimo.venv] in your script metadata:
# /// script
# [tool.marimo.venv]
# path = "path/to/venv" # relative or absolute path
# writable = false # optional, default is false
# ///
!!! note "Sandboxed Home only"
The `[tool.marimo.venv]` configuration only applies when using
Sandboxed Home (`marimo edit --sandbox folder/`). For single notebooks,
activate your virtual environment before running marimo:
```bash
source path/to/venv/bin/activate
marimo edit notebook.py
```
| Option | Description |
|---|---|
path | Path to the virtual environment (relative or absolute) |
writable | Whether marimo can install packages into the venv (default: false) |
writable | marimo installed? | What happens |
|---|---|---|
true | - | marimo installs itself and required dependencies into the venv |
false | Yes | Uses the venv as-is (warns if marimo version differs) |
false | No | Injects PYTHONPATH for marimo (requires matching Python version) |
This is useful when: