Getting Started with Marimo on Windows (using uv)
Let's install the Marimo Python notebook on Windows with uv.
1. Get the uv Installer
First, we need to install uv.
- Open PowerShell:
- Run this command:
powershell -c "irm [https://astral.sh/uv/install.ps1](https://astral.sh/uv/install.ps1) | iex"
- Check if it worked!
To make sure the install was successful, close and reopen your PowerShell window, then type:
uv --version
If you see a version number, you're good to go!
2. Set Up Your Marimo Project
- 1. Create a Project Folder: Let's make a new folder and move into it:
mkdir MarimoProject
cd MarimoProject
-
2.Initialize the Project: This command tells
uvto create a virtual environment inside this folder:
uv init
- 3. Install Marimo Now, let's add the Marimo package to your new environment:
uv add marimo
To unlock extra features like SQL cells and AI integration, you can use:
uv add "marimo[recommended]"
3. Launch Your Marimo Notebook!
Everything is installed! Now we use uv to run the Marimo tool we just installed.
-
1. Start the Editor: (it will create a new file named
my_notebook.pyif it doesn't exist)
uv run marimo edit my_notebook.py
- 2. Go to Your Browser: This command will automatically open the interactive Marimo notebook editor in your default web browser. You can now start writing your Python code!
Top comments (1)
Awesome guide! Super clear on getting Marimo running on Windows with uv. Loved how you laid out the commands so simply ๐๐๐ฝ