rudder-cli-setuplisted
Install: claude install-skill rudderlabs/rudder-agent-skills
# Rudder CLI Setup
Install rudder-cli, authenticate with RudderStack, and verify the setup works.
## Setup Workflow
```
1. Check Installation ──► command -v rudder-cli, then ~/.local/bin
│
├── Found ──► Skip to Authentication
│
└── Not Found ──► Install the latest release into ~/.local/bin
│
2. Verify Installation ◄────────────┘
│
└── rudder-cli --version
3. Check Authentication ──► rudder-cli workspace info --json
│
├── Authenticated ──► Done! Show workspace info
│
└── Not Authenticated ──► RUDDERSTACK_ACCESS_TOKEN (agents)
or rudder-cli auth login (people)
```
## Step 1: Check if Installed
```bash
command -v rudder-cli || ls "$HOME/.local/bin/rudder-cli"
```
**If `command -v` prints a path:** Skip to Step 3 (Authentication).
**If only `~/.local/bin/rudder-cli` exists:** An earlier install put it there, and that folder is not on PATH. Follow "If `~/.local/bin` is not on PATH" below, then skip to Step 3.
**If neither exists:** Continue to Step 2 (Installation).
## Step 2: Install rudder-cli
The command below installs the latest release from [GitHub Releases](https://github.com/rudderlabs/rudder-iac/releases) on macOS or Linux, on x86_64 or arm64 (Linux also on i386). It checks the archive against the release's checksums file, puts `rudder-cli` in `~/.local/bin` without `sudo`, and replaces no copy elsewhere