marimo CLI
marimo provides a powerful command-line interface for creating, editing, running, and exporting reactive Python notebooks.Global Options
These options can be used with any marimo command: -l, —log-level LEVEL - Set logging level- Choices:
DEBUG,INFO,WARN,ERROR,CRITICAL - Default:
WARN
- Type: Flag
- Default:
False
- Type: Flag
- Default:
False
- Type: Flag
- Default:
False
Main Commands
Interactive Commands
- marimo edit - Create or edit notebooks in an interactive editor
- marimo new - Create an empty notebook or generate from AI prompt
- marimo run - Run a notebook as a read-only app
- marimo tutorial - Open a tutorial notebook
Conversion & Export
- marimo convert - Convert Jupyter notebooks, Markdown, or Python scripts to marimo
- marimo export - Export notebooks to various formats (HTML, PDF, script, etc.)
Configuration
- marimo config - Manage marimo configuration settings
Utilities
- marimo check - Check and format marimo files
- marimo env - Print environment information for debugging
- marimo recover - Recover a notebook from JSON
- marimo shell-completion - Install shell completions
Quick Start Examples
Getting Help
For help with any command, use the--help flag: