Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
rudderlabs avatar

Rudder Cli Setup

  • 13 installs
  • 18 repo stars
  • Updated July 17, 2026
  • rudderlabs/rudder-agent-skills

Installs and authenticates the rudder-cli binary from GitHub releases and verifies the RudderStack workspace connection.

About

Guides installing the rudder-cli binary from GitHub releases and authenticating it against a RudderStack workspace with an access token. A developer uses it when first setting up rudder-cli or fixing command-not-found and unauthorized errors.

  • Detects OS/arch and downloads the matching rudder-cli release binary
  • Runs auth login and verifies with rudder-cli workspace info

Rudder Cli Setup by the numbers

  • 13 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #1,409 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/rudderlabs/rudder-agent-skills --skill rudder-cli-setup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs13
repo stars18
Last updatedJuly 17, 2026
Repositoryrudderlabs/rudder-agent-skills

What it does

Installs and authenticates the rudder-cli binary from GitHub releases and verifies the RudderStack workspace connection.

Files

SKILL.mdMarkdownGitHub ↗

Rudder CLI Setup

Install rudder-cli, authenticate with RudderStack, and verify the setup works.

Setup Workflow

1. Check Installation ──► which rudder-cli
         │
         ├── Found ──► Skip to Authentication
         │
         └── Not Found ──► Install from GitHub Releases
                                    │
2. Verify Installation ◄────────────┘
         │
         └── rudder-cli --version

3. Check Authentication ──► rudder-cli workspace info
         │
         ├── Authenticated ──► Done! Show workspace info
         │
         └── Not Authenticated ──► Guide through auth flow

Step 1: Check if Installed

which rudder-cli

If found: Skip to Step 3 (Authentication).

If not found: Continue to Step 2 (Installation).

Step 2: Install rudder-cli

Detect Operating System

uname -s
  • Darwin = macOS
  • Linux = Linux

Download from GitHub Releases

Go to: https://github.com/rudderlabs/rudder-iac/releases

Download the appropriate binary for your OS and architecture:

OSArchitectureBinary Name
macOSIntelrudder-cli_darwin_amd64
macOSApple Siliconrudder-cli_darwin_arm64
Linuxx86_64rudder-cli_linux_amd64
LinuxARM64rudder-cli_linux_arm64
Windowsx86_64rudder-cli_windows_amd64.exe

Installation Commands (macOS/Linux)

# Example for macOS Apple Silicon - adjust URL for your platform
# Check latest version at https://github.com/rudderlabs/rudder-iac/releases

# Download (replace VERSION and BINARY with actual values)
curl -L -o rudder-cli https://github.com/rudderlabs/rudder-iac/releases/download/VERSION/BINARY

# Make executable
chmod +x rudder-cli

# Move to PATH (choose one)
sudo mv rudder-cli /usr/local/bin/    # System-wide
# OR
mv rudder-cli ~/.local/bin/           # User-only (ensure ~/.local/bin is in PATH)

Verify Installation

rudder-cli --version

Expected output: Version number (e.g., rudder-cli version 0.x.x)

Step 3: Authenticate

Check Current Status

rudder-cli workspace info

If authenticated: Shows workspace name and ID. You're done!

If not authenticated: Continue with authentication.

Get Access Token

1. Log in to your RudderStack dashboard 2. Go to Settings → Access Tokens 3. Click Generate New Token 4. Copy the token (you won't see it again)

Run Authentication

rudder-cli auth login

This prompts for your access token. Paste it when asked.

Verify Authentication

rudder-cli workspace info

Expected output:

Workspace Information:
  ID:   2iKXWU4QnqclkpPIfXfsbBqrAVa
  Name: My Workspace

Credential Security

  • Never echo or log your access token
  • Store tokens in environment variables if needed: RUDDER_ACCESS_TOKEN
  • Add .env files to .gitignore
  • For CI/CD, use repository secrets
  • Rotate tokens periodically in the RudderStack dashboard

Troubleshooting

IssueSolution
command not found after installCheck PATH includes install location
unauthorized errorRe-run rudder-cli auth login with new token
Wrong workspaceToken is tied to workspace; generate new token in correct workspace
Download failsCheck network; try browser download from releases page

Next Steps

After setup completes:

  • Run /rudder-environment-check to verify full environment
  • Start with /rudder-cli-workflow for validate → dry-run → apply cycles

Related skills

Data Science & MLanalyticspipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.