Skip to content

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

uv tool install stcode
stcode --version

If you do not have uv, follow its installation guide. To try stcode without a permanent tool installation:

uvx stcode

Install with pip

In an activated Python environment:

pip install stcode
stcode --version

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

git clone https://github.com/Ming-doan/stcode
cd stcode
uv sync
uv run stcode

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.