Skip to content
Crow CI

CLI

The Crow CLI (crow) allows you to interact with Crow CI from the command line. You can manage repositories, pipelines, secrets, and more.

Download the CLI from the project’s releases page. Choose the appropriate binary for your platform.

The CLI is also available as a container image:

docker run --pull always \
  -e CROW_TOKEN=$CROW_TOKEN \
  -e CROW_SERVER=$CROW_SERVER \
  --rm -it codefloe.com/crowci/crow-cli:dev info

The CLI requires two environment variables:

VariableDescription
CROW_SERVERURL of your Crow CI server (e.g., https://ci.example.com)
CROW_TOKENPersonal access token from the Crow CI web interface

You can generate a token in the Crow CI web interface under Settings > Personal Access Tokens.

# List repositories
crow repo ls

# Show repository info
crow repo show owner/repo

# Sync repositories from forge
crow repo sync
# List recent pipelines
crow pipeline ls owner/repo

# Show pipeline details
crow pipeline info owner/repo <pipeline-id>

# Trigger a new pipeline
crow pipeline start owner/repo

# Stop a running pipeline
crow pipeline stop owner/repo <pipeline-id>
# List secrets
crow secret ls owner/repo

# Add a secret
crow secret add owner/repo --name SECRET_NAME --value "secret-value"

# Remove a secret
crow secret rm owner/repo SECRET_NAME
# Run pipeline locally (requires Docker)
crow exec

# Run with specific workflow file
crow exec --workflow .crow/build.yaml

crow lint validates local pipeline configuration files against the Crow schema — it does not fetch configuration from the server or forge. Point it at a single YAML/Jsonnet file or a directory containing workflow files.

# Lint a directory of workflow files
crow lint .crow/

# Lint a single workflow file
crow lint .crow/build.yaml

# Treat warnings as errors
crow lint --strict .crow/
# List organization agents
crow org agent ls <org-name>

# Add an organization agent
crow org agent add <org-name> --name "my-agent"

# Show agent details
crow org agent show <org-name> --agent-id <agent-id>

# Remove an organization agent
crow org agent rm <org-name> --agent-id <agent-id>

Requires admin privileges.

# List all agents (admin only)
crow admin agent ls

# Show agent details (admin only)
crow admin agent show <agent-id>

# Remove an agent (admin only)
crow admin agent rm <agent-id>

Requires admin privileges.

# List all users
crow admin user ls

# Show user details
crow admin user show <username>

# Add a new user
crow admin user add <username>

# Remove a user
crow admin user rm <username>
# Show all commands
crow --help

# Show help for a specific command
crow repo --help
crow pipeline start --help