Azure DevOps CLI

Install latest/stable of Azure DevOps CLI

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install azdocli

Don't have snapd? Get set up for snaps.

Channel Version Published

CLI tool for interacting with Azure DevOps

Azure DevOps CLI

CLI tool for interacting with Azure DevOps.

Features

  • Repository Management: List, create, delete, clone, view, and manage pull requests
  • Pipeline Management: Manage Azure DevOps pipelines
  • Board Management: Manage Azure DevOps boards and work items
  • Authentication: Secure login using Personal Access Tokens (PAT)
  • Default Project: Set a default project to avoid specifying --project for every command

Key Capabilities

Repository Operations

  • List and manage repositories
  • Clone all repositories from a project with parallel execution
  • Create, view, and manage pull requests
  • Delete repositories (soft/hard delete options)

Pipeline Operations

  • List all pipelines in a project
  • View pipeline runs and build details
  • Start new pipeline runs
  • Real-time build status updates

Board Operations

  • View and manage work items (bugs, tasks, user stories, features, epics)
  • Create, update, and delete work items
  • Open work items in web browser
  • Full CRUD operations support

Authentication Setup

Create a Personal Access Token (PAT) in Azure DevOps:

  1. Sign in to https://dev.azure.com/%7Byourorganization%7D
  2. Click profile picture > Personal Access Tokens
  3. Click + New Token
  4. Configure scopes:
    • Code: Read & write
    • Build: Read & execute
    • Work Items: Read & write
    • Project and Team: Read
  5. Copy and securely store the token

Basic Usage

# Login with your PAT
azdocli login

# Set default project (optional)
azdocli project MyProject

# Repository management
azdocli repos list
azdocli repos clone --parallel
azdocli repos pr list --repo MyRepo

# Pipeline management
azdocli pipelines list
azdocli pipelines run --id 42

# Board management
azdocli boards work-item show --id 123
azdocli boards work-item create bug --title "Fix login"

Commands

USAGE: azdocli [SUBCOMMAND]

SUBCOMMANDS:
boards       Manage Azure DevOps boards
login        Login with Personal Access Token
logout       Logout from Azure DevOps
pipelines    Manage Azure DevOps pipelines  
project      Set/view default project
repos        Manage Azure DevOps repositories

OPTIONS:
-h, --help       Print help
-V, --version    Print version

For complete documentation and advanced usage examples, visit the project repository.

Details for Azure DevOps CLI

License
  • MIT

Last updated
  • 30 June 2025 - latest/stable
  • 26 September 2025 - latest/edge

Websites

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.


Install Azure DevOps CLI on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using Azure DevOps CLI

Users by distribution (log)

Ubuntu 24.04