A command-line tool for interacting with Azure DevOps. Manage repositories, pipelines, boards, and more — built with Rust for performance and reliability.
List, create, delete, clone, view, and manage pull requests with powerful batch operations and parallel processing.
Manage Azure DevOps pipelines, view runs, show build details, and trigger new executions from the command line.
Full CRUD operations for work items with advanced filtering, multiple work item types, and web integration.
Secure login using Personal Access Tokens (PAT) with proper credential management and session handling.
Set a default project to streamline your workflow and avoid specifying --project for every command.
Create, delete, list, and show Azure DevOps team projects within an organization.
Cross-tenant team-project migration with azdocli migrate for moving projects between organizations.
Log in to enterprise or on-premises Azure DevOps Server installations with custom base URLs.
Before using the CLI, create a Personal Access Token (PAT) in Azure DevOps with the required scopes: Code (read/write), Build (read/execute), Work Items (read/write), and Project and Team (read).
# Login with your Personal Access Token
azdocli login
# You'll be prompted for:
# - Organization name (e.g., "mycompany" from https://dev.azure.com/mycompany)
# - Personal Access Token
# Set a default project (optional but recommended)
azdocli project MyProject
# Repository management
azdocli repos list
azdocli repos show --id MyRepo
azdocli repos clone --target-dir ./repos --parallel
# Pull request management
azdocli repos pr list --repo MyRepo
azdocli repos pr show --repo MyRepo --id 123
azdocli repos pr create --repo MyRepo --source "feature/x" --title "My Feature"
azdocli repos pr update --repo MyRepo --id 123 --title "New title"
# Pipeline management
azdocli pipelines list
azdocli pipelines runs --id 42
azdocli pipelines run --id 42
# Board management
azdocli boards work-item list
azdocli boards work-item show --id 123
azdocli boards work-item create bug --title "Fix login issue"
# Project management
azdocli projects list
azdocli projects create --name MyProject
Ready to dive deeper?
Read the User Guide