Open and run marimo notebooks directly in PyCharm.
Keep notebooks as plain Python files. Edit reactive cells, use interactive widgets, and manage packages in a dedicated notebook tab.
- Interactive notebooks: reactive cells,
mo.uiwidgets, SQL, variables, dependencies, and package management. - Project interpreter or sandbox: use your Python interpreter, or start an isolated uv environment.
- Persistent sessions: split editors share a notebook session. Closing a tab preserves the session until its idle timeout.
- Database sharing: share IDE data sources with individual notebooks from Marimo Sessions.
- Pair with AI: start a supported terminal harness for a notebook, or copy its pairing prompt.
- Source editing: switch between Python source and the notebook. Source edits reload in marimo.
- Recovery actions: use Retry, Install, or Open as Python File when startup fails.
- Notebook template: choose New → marimo Notebook to create a notebook.
- PyCharm 2026.1 or later (Community or Professional)
- A project interpreter with marimo installed — the plugin runs marimo on your configured interpreter, and offers to install it for you if it's missing
- uv (optional) — only needed to run a notebook in an isolated sandbox
- PyCharm Professional with Database Tools (optional) — only needed to share IDE data sources
- Install the plugin.
- Open a folder containing a marimo notebook.
- Open the notebook
.pyfile — it loads in the marimo editor. - Edit and run cells; results update reactively.
A minimal marimo notebook:
import marimo
app = marimo.App()
@app.cell
def _():
import marimo as mo
return (mo,)
if __name__ == "__main__":
app.run()If a .py file isn't a marimo notebook, it opens in the normal Python editor as usual.
In Marimo Sessions → Data Sources, select a notebook and share an IDE data source. Choose one default per database family. With marimo 0.23.16 or later, Quick Add can suggest a SQL cell for that default.
The notebook process can read shared credentials. The plugin reads passwords from the IDE credential store at launch and keeps them out of project files and logs. If a shared source changes, restart the session to apply the new connection settings.
Explicit notebook, project, and user themes stay unchanged. A system theme uses the IDE theme.
If an IDE theme change does not update the notebook, restart its session from Marimo Sessions.
You need JDK 21 or later; Gradle is provided through the wrapper. To launch a sandboxed PyCharm instance with the plugin loaded, run:
./gradlew runIdeSee the common command reference and the full contributor guide for setup, testing, and local marimo development.
Bug reports and ideas are welcome via the issue tracker. Interest in marimo support for PyCharm is also tracked upstream at JetBrains PY-78283.
Plugin based on the IntelliJ Platform Plugin Template.


