Installation¶
You need Python 3.10 or newer, a terminal, and credentials for a supported model provider. Use Linux or macOS for local work; the container examples require Docker.
Install with uv¶
If you do not have uv, follow its installation guide. To try stcode without a permanent tool installation:
Install with pip¶
In an activated Python environment:
Search is included through ripgrep-bin, which supplies prebuilt binaries for
common Linux and macOS systems. You do not need a separate ripgrep installation
or a Rust compiler on those platforms.
Run from source¶
When running from this checkout, prefix the stcode commands in these docs with
uv run.
Update¶
uv tool upgrade stcode
# Or, in the environment where you installed with pip:
pip install --upgrade stcode
Continue with the quickstart to choose a provider and open a project.