Better experience on the appOpen

How to Install Claw Code in 5 Minutes (Open Source Claude Code)

The Only Bamboo
The Only Bamboo
246 followers
7 Video Views·Apr 2, 2026

Here are the commands to run for Mac/Linux or Windows.

Mac/Linux:

Mac:

1. Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"


2. Clone to desktop and build

cd ~/Desktop
git clone https://github.com/instructkr/claw-code.git
cd claw-code/rust
cargo build --release


3. Make a project folder and go to it for testing

mkdir -p ~/desktop/claw-code-test && cd ~/desktop/claw-code-test


4. Set API key for session and run


export ANTHROPIC_API_KEY="your-key-here"
~/Desktop/claw-code/rust/target/release/claw


5. select model

/model claude-sonnet-4-6




Windows:

1. Install Rust

winget install Rustlang.Rustup


2. Clone to desktop and build

cd ~\Desktop
git clone https://github.com/instructkr/claw-code.git
cd claw-code\rust
cargo build --release

3. Make test folder and go to it

mkdir ~/Desktop/claw-code-test; cd ~/Desktop/claw-code-test

4. Set API key for session and run

$env:ANTHROPIC_API_KEY="your-key-here"
~\Desktop\claw-code\rust\target\release\claw.exe

5. select model

/model claude-sonnet-4-6