Command-line interface for building and managing Pyodide packages and distributions. Current version 0.5.0, requires Python >=3.12. Part of the Pyodide project (WebAssembly Python runtime). Release cadence is sporadic, tied to Pyodide releases.
pip install pyodide-cliVerified import paths — ran on the pinned version, not inferred.
Example of programmatically invoking the CLI. Direct usage is via 'pyodide' command in terminal.
Upgrade Python to >=3.12, or use an older version of pyodide-cli if available (e.g., 0.4.x for Python 3.11).
Replace 'pyodide dir' with 'pyodide config show' or 'pyodide config set'.
Run 'pyodide init' to create a default configuration, or set PWDIR environment variable to a valid Pyodide checkout.