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:

Terminal window
docker run --pull always \
-e CROW_TOKEN=$CROW_TOKEN \
-e CROW_SERVER=$CROW_SERVER \
--rm -it codeberg.org/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.

Terminal window
# List repositories
crow repo ls
# Show repository info
crow repo info owner/repo
# Sync repositories from forge
crow repo sync
Terminal window
# 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>
Terminal window
# 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
Terminal window
# Run pipeline locally (requires Docker)
crow exec
# Run with specific workflow file
crow exec --workflow .crow/build.yaml
Terminal window
# Lint pipeline configuration
crow lint .crow/
Terminal window
# 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.

Terminal window
# 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.

Terminal window
# 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>
Terminal window
# Show all commands
crow --help
# Show help for a specific command
crow repo --help
crow pipeline start --help