Documentation
Installation
Install the CLI, and what the install script actually does.
Requirements
- macOS or Linux. Windows works under WSL2; native Windows is not supported.
- Python 3.11+. If you have none,
uvfetches a suitable interpreter. git, for the install and for Forge's git tools afterwards.- An Anthropic API key, or any Anthropic-compatible gateway you already use.
Install script
$ curl -fsSL https://forge.tusharumbarkar.space/install.sh | shThe script is a single POSIX sh file. It:
- Stops on anything that is not macOS or Linux.
- Checks for
git, and installsuvif you do not already have it. - Installs Forge as an isolated tool, leaving your system Python untouched.
- Runs
forge --versionto confirm the install, and tells you if the binary is not yet on yourPATH.
To read it before running it:
$ curl -fsSL https://forge.tusharumbarkar.space/install.sh -o install.sh$ less install.sh$ sh install.shForge treats curl | sh as a destructive pattern and will stop and ask before running one on your behalf. The same caution applies to the one above.
With uv
If you already have uv, this is the whole install.
$ uv tool install git+https://github.com/codesensei-tushar/forgeFrom source
For working on Forge itself.
$ git clone https://github.com/codesensei-tushar/forge$ cd forge$ uv sync$ uv run forge --versionpip and pipx
The distribution name forge-code is reserved in pyproject.toml but no wheel has been published yet, so pip install forge-code will not work today. Use the install script or uv until it does.
Verifying
$ forge --version$ forge configforge config prints the resolved configuration with secrets redacted - the fastest way to confirm which model, workspace, approval mode, and sandbox you are about to run with.
If forge is not found
The binary lives in uv's tool bin directory. Add it to your shell profile with uv tool update-shell, then open a new shell.
Uninstalling
$ uv tool uninstall forgeThe tool is registered under the name of its source, so a git install uninstalls as forge rather than forge-code. uv tool list shows what you have.