VS Code Extensions
Azure Pipelines CLI Installer Tasks

Azure Pipelines CLI Installer Tasks

by vbnbharath

Azure Pipelines Tasks that installs CLI tools on demand in pipeline jobs, adds them to PATH

Downloads

4

Rating

— (0)

Version

1.0.1

Last updated

Apr 21, 2026

Install DevOps CLI tools in Azure Pipelines without custom scripts.
Provides reusable tasks with version control, caching, and consistent behavior.

ADO Extension: Build and Publish


Overview

This Azure DevOps extension provides installer tasks that:

  • install a requested CLI version
  • reuse the Azure Pipelines tool cache when available
  • add the tool to PATH
  • expose the installed binary path via cliLocation

Included Tasks

  • InstallArgoCDCLI@1
  • InstallCheckmarxOneCLI@1
  • InstallDatabricksCLI@1
  • InstallHashicorpSentinelCLI@1
  • InstallOpenTofuCLI@1
  • InstallPackerCLI@1
  • InstallWizCLI@1

Usage

All tasks follow the same contract:

  • Input (Required): version
  • Output: cliLocation

Example

steps:
- task: InstallArgoCDCLI@1
  name: installArgo
  inputs:
    version: latest

- script: |
    argocd version --client --short
    echo "Installed at: $(installArgo.cliLocation)"

Repository Layout

  • Tasks/Common: Shared installer logic and utilities

  • Tasks/Install*: Individual task implementations

  • azure-devops-extension.json: Extension manifest

  • docs.md: Marketplace content


Build and package

Install dependencies:

npm install

Build the extension payload:

npm run build:release

Package the extension:

npm run package:release

Publishing

Marketplace content is sourced from docs.md.

Extension manifest is defined in: azure-devops-extension.json

For more details: https://learn.microsoft.com/en-us/azure/devops/extend/develop/manifest

Related extensions