MCPcopy Index your code
hub / github.com/OctopusDeploy/install-octopus-cli-action

github.com/OctopusDeploy/install-octopus-cli-action @v4.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.1 ↗ · + Follow
14 symbols 36 edges 10 files 0 documented · 0% updated 5d agov4.1.0 · 2026-03-25★ 886 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

install-octopus-cli-action

This is a GitHub Action to install the new Octopus CLI (octopus) on runners and self-hosted environments. Once installed, the Octopus CLI may be used to issue commands to Octopus Deploy. Subsequent actions may use the Octopus CLI, which is cached and available via PATH.

What is the Octopus CLI?

The Octopus CLI is a command line tool that builds on top of the Octopus REST API. It enables you to package applications for deployment and manage your environments, deployments, channels, projects, and workers in Octopus Deploy.

Features

  • Download, install, and cache Octopus CLI to be used in workflows
  • Supports SemVer-based version numbers with wildcards (i.e. 0.8.*) but not ranges

Migration Guide(s)

Please refer to the migration guide if moving between major versions of this action.

Examples

To install the latest version (i.e. * or latest) of the Octopus CLI:

- name: Install Octopus CLI 🐙
  id: install_octopus_cli
  uses: OctopusDeploy/install-octopus-cli-action@v4
  with:
    version: '*'

To install a specific version of the Octopus CLI:

- name: Install Octopus CLI 🐙
  id: install_octopus_cli
  uses: OctopusDeploy/install-octopus-cli-action@v4
  with:
    version: 0.8.0

Here's an example of invoking the account list command after installing the Octopus CLI:

- name: Install Octopus CLI 🐙
  id: install_octopus_cli
  uses: OctopusDeploy/install-octopus-cli-action@v4
  with:
    version: 0.8.0
- name: list-octopusdeploy-accounts
  id: list_octopusdeploy_accounts
  env:
    OCTOPUS_API_KEY: ${{ secrets.apiKey }}
    OCTOPUS_URL: ${{ secrets.serverURL }}
    OCTOPUS_SPACE: 'Outer Space'
  run: >
    octopus account list

📥 Inputs

The following input is optional:

Name Description Default
version The release version number of the Octopus CLI to download and install (e.g. 0.8.0). * (latest)

🤝 Contributions

Contributions are welcome! :heart: Please read our Contributing Guide for information about how to get involved in this project.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Interface 6
Function 4
Class 2
Method 2

Languages

TypeScript100%

Modules by API surface

src/octopus-cli.ts7 symbols
src/octopusCLIVersionFetcher.ts4 symbols
src/download.ts2 symbols
src/main.ts1 symbols

For agents

$ claude mcp add install-octopus-cli-action \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page