On this page

Getting Started

Install streb and have a Claude Code environment running in minutes.

Prerequisites

  • A supported operating system: Windows, macOS, or Linux
  • An internet connection (for streb init to download and configure tools)

Everything else — Git, Bun, Claude Code CLI, jq, yq — is installed automatically by streb init.

Install streb

brew tap adesso-ai/streb https://get.strebcli.dev/streb/tap.git
brew trust --formula adesso-ai/streb/streb
brew install streb
scoop bucket add streb https://get.strebcli.dev/streb/tap.git
scoop install streb
curl -fsSL https://get.strebcli.dev/install.sh | sh

After installation, verify it works:

streb version

First run: streb init

streb init is the default command. Run it in your project directory:

streb init

What happens:

  1. Authentication

    If no credentials are found, an interactive provider picker launches. Choose adesso AI Hub, Anthropic API key, or Claude subscription.

  2. Tool setup

    streb checks and installs each tool in order: Authentication → Git → Git user config → Bun → Claude Code CLI → jq → yq.

Non-interactive example (for CI or scripts):

STREB_AIHUB_KEY=your-key streb init

Verify with streb doctor

streb doctor

Runs all checks in parallel and shows the status of every prerequisite. Use this after streb init to confirm everything is working, or any time you suspect something is broken.

Shell completion

streb can generate shell completion scripts for your shell:

streb completion bash > /etc/bash_completion.d/streb
# or for user installs:
streb completion bash >> ~/.bash_completion
streb completion zsh > "${fpath[1]}/_streb"
# Restart your shell or run: compinit
streb completion fish > ~/.config/fish/completions/streb.fish
streb completion powershell | Out-String | Invoke-Expression
# To persist, add the above line to your $PROFILE

Resetting your environment

streb reset reverses streb init. Use it to start fresh or remove specific components.

streb reset

By default, reset removes everything. Use --skip-* flags to preserve components:

Flag What it preserves
--skip-auth Keeps authentication credentials
--skip-git-config Keeps Git user name/email config
--skip-claude-code Keeps Claude Code CLI
--skip-bun Keeps Bun
--skip-jq Keeps jq
--skip-yq Keeps yq