Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

Nitpick: prefer --directory flag over cd (#3215)

vincent d warmerdam3fbe88dbcc6d
diff --git a/marimo/_cli/export/commands.py b/marimo/_cli/export/commands.py
index fb60ae22ce..7c1ff973d3 100644
--- a/marimo/_cli/export/commands.py
+++ b/marimo/_cli/export/commands.py
@@ -412,7 +412,7 @@ def html_wasm(
echo(
"To run the exported notebook, use:\n"
- f" cd {output} && python -m http.server\n"
+ f" python -m http.server --directory {output}\n"
"Then open the URL that is printed to your terminal."
)