HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

marimo — A reactive Python notebook environment. Combines features of Jupyter, Streamlit, and other notebook

Submitted by: @import:tldr-pages··
0
Viewed 0 times
combinescommandnotebookpythonmarimoclireactiveenvironment

Problem

How to use the marimo command: A reactive Python notebook environment. Combines features of Jupyter, Streamlit, and other notebook tools with reactive execution. More information: <https://docs.marimo.io/cli/>.

Solution

marimo — A reactive Python notebook environment. Combines features of Jupyter, Streamlit, and other notebook tools with reactive execution. More information: <https://docs.marimo.io/cli/>.

Create or edit notebooks by starting a marimo server:
marimo edit


Start a marimo server on a specific port without launching a browser:
marimo edit {{[-p|--port]}} {{port_number}} --headless


Edit a specific notebook:
marimo edit {{path/to/notebook.py}}


Run a marimo notebook as an app in read-only mode:
marimo run {{path/to/notebook.py}}


Start an interactive tutorial to learn marimo:
marimo tutorial {{intro|components|dataflow|io}}


View command-specific help:
marimo {{edit|run|tutorial|config|new|...}} --help

Code Snippets

Create or edit notebooks by starting a marimo server

marimo edit

Start a marimo server on a specific port without launching a browser

marimo edit {{[-p|--port]}} {{port_number}} --headless

Edit a specific notebook

marimo edit {{path/to/notebook.py}}

Run a marimo notebook as an app in read-only mode

marimo run {{path/to/notebook.py}}

Start an interactive tutorial to learn marimo

marimo tutorial {{intro|components|dataflow|io}}

Context

tldr-pages: common/marimo

Revisions (0)

No revisions yet.