How you can upgrade an existing Backyards CLI installation depends on how you have originally installed it.

In general, you can run the following command to upgrade and install the appropriate package for your platform:

curl https://getbackyards.sh | sh -s -- auto

Install the latest version of the Backyards CLI: 🔗︎

  • On macOS:

    • If you have installed Backyards CLI with Homebrew:

      $ brew upgrade banzaicloud/tap/backyards-cli
      
  • On Linux: Download and install the appropriate package for your distribution.

    • Deb package — for latest Ubuntu LTS and Debian stable releases
    • RPM package — for latest CentOS, RHEL, SLES or openSUSE releases

Install a specific version of the Backyards CLI: 🔗︎

Change <VERSION> to your desired Backyards CLI version in the following commands.

  • On macOS:

    • If you have installed Backyards CLI with Homebrew:

      $ brew search backyards-cli
      $ brew upgrade banzaicloud/tap/backyards-cli@<VERSION>
      
  • On Linux: Download and install the appropriate package for your distribution.

    • Deb package: — for latest Ubuntu LTS and Debian stable releases:
      $ wget https://banzaicloud.com/downloads/backyards-cli/<VERSION>/dist/backyards-cli_<VERSION>_linux_amd64.deb
      
    • RPM package — for latest CentOS, RHEL, SLES or openSUSE releases
      $ wget https://banzaicloud.com/downloads/backyards-cli/<VERSION>/dist/backyards-cli_<VERSION>_linux_amd64.rpm
      

Verify that you have the correct Backyards CLI version: 🔗︎

$ backyards version
? Are you sure to use the current context? kubernetes-admin@your-cluster Yes
Client version: 1.5.0
logged in as kubernetes-admin
API version: 1.5.0

The Client version is your Backyards CLI version.