Search by

This package is abandoned and no longer maintained. The author suggests using the pantheon-systems/terminus package instead.

A command line interface for Pantheon

Package info

github.com/pantheon-systems/terminus

Homepage

pkg:composer/pantheon-systems/cli

Statistics

Installs: 9 529

Dependents: 0

Suggesters: 0

Stars: 344

Open Issues: 166

4.3.5 2026-11-09 18:10 UTC

This package is auto-updated.

Last update: 2026-11-10 00:14:23 UTC


README

Status

Commit Build Actively Maintained

About

Terminus is Pantheon's Command Line Interface (CLI), providing at least equivalent functionality to the Pantheon's browser-based Dashboard and easier scripting.

If you would like to contribute, pull requests are welcome!

Rollback

Terminus ships as a release, not a running service. A tag on 4.x publishes a GitHub release with terminus.phar attached, and a PR on pantheon-systems/homebrew-external bumps the Homebrew formula. Merging to 4.x deploys nothing. Releasing and rolling back are described in full in DEPLOYMENT.md.

When to roll back

  • New issues on the issue queue, or reports in #ask-hosting or from Support, describe a regression that started with the latest release.
  • The release's terminus.phar doesn't run: php terminus.phar --version fails or prints the wrong version.
  • A command that works with the previous release fails with the new one, e.g. terminus auth:whoami.

Fixing forward with a patch release is the norm. Pull a release back when it is broken badly and the fix will take more than a few hours.

Roll back a release

Before you start, note the previous good version, <PREVIOUS_VERSION>.

  1. Mark the bad release as a pre-release. Don't delete or move its tag:
    gh release edit <BAD_VERSION> -R pantheon-systems/terminus --prerelease
    GitHub's latest release falls back to <PREVIOUS_VERSION>, so terminus self:update stops offering <BAD_VERSION>. The update notice follows within its 7-day cache.
  2. Open a PR on pantheon-systems/homebrew-external that sets url and sha256 in Formula/terminus.rb back to <PREVIOUS_VERSION>, and get it merged. Use the values from that file's history, or hash the asset: curl -sL https://github.com/pantheon-systems/terminus/releases/download/<PREVIOUS_VERSION>/terminus.phar | shasum -a 256.
  3. Ship the fix as the next patch release. Never reuse or move a tag.

What a rollback does not undo

Nobody's installed copy goes back on its own. self:update never downgrades, and brew upgrade won't either. Tell affected users to reinstall:

  • PHAR: curl -L https://github.com/pantheon-systems/terminus/releases/download/<PREVIOUS_VERSION>/terminus.phar --output <PATH_TO_TERMINUS>
  • Homebrew, once the formula revert is merged: brew update && brew reinstall terminus
  • Composer: pin the constraint to <PREVIOUS_VERSION>

CI images built in the meantime (docker-build-tools-ci runs self:update at build time) keep the bad version until they're rebuilt.

Verify the rollback

  • gh api repos/pantheon-systems/terminus/releases/latest --jq .tag_name prints <PREVIOUS_VERSION>.
  • Formula/terminus.rb on the tap's main points at <PREVIOUS_VERSION>.
  • terminus self:update on <BAD_VERSION> prints No update available, and after reinstalling, the reported symptom is gone.

Who to page

The owning team is Developer Experience (@pantheon-systems/developer-experience). Ask in #ask-hosting. Nobody is paged for Terminus.

The Manual

Our documentation is kept in the Terminus Manual, located here: https://pantheon.io/docs/terminus

Requirements

Operating System Version
MacOS 10.14+
Ubuntu Latest LTS
Windows + WSL + Ubuntu 20.0+

Package Manager

Required Packages

These packages are required to take full advantage of Terminus.

  • Composer 2 (Needed for the plugin manager component)

  • PHP (v8.2+)

  • Git (May be needed for the plugin manager component)

  • OpenSSH 7.8 or later

Recommended Packages

  • Drush (Useful to run incompatible-with-Terminus Drush commands)

  • WP-CLI (Useful to run incompatible-with-Terminus WP-CLI commands)

Installation

Mac OS:

Terminus is published as a package under pantheon-systems/external. To install it, you should run:

brew install pantheon-systems/external/terminus

Standalone Terminus PHAR

The commands below will:

  • Create a terminus folder in your home directory (~/)
  • Get the latest release tag of Terminus
  • Download and save the release as ~/terminus/terminus
  • Make the file executable
  • Add a symlink to your local bin directory for the Terminus executable
mkdir -p ~/terminus && cd ~/terminus
curl -L https://github.com/pantheon-systems/terminus/releases/download/3.6.1/terminus.phar --output terminus
chmod +x terminus
./terminus self:update
sudo ln -s ~/terminus/terminus /usr/local/bin/terminus