Installation

Give a try to updatecli !

Packages

Updatecli is a standalone binary available on GitHub with packages for Windows, Linux and OSX.

macOS via Homebrew

Homebrew is the easiest way to install updatecli on macOS. See the Homebrew documentation for installation and usage explanations.

First configure the updatecli third-party repository (called a "tap") with:

brew tap updatecli/updatecli

Then proceed with the actual installation with:

brew install updatecli

To check, later, if a newer version is available, use brew outdated updatecli. Should you then want to upgrade to the latest version, use brew upgrade updatecli.

Linux

Opensuse

# amd64
sudo zypper install https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_amd64.rpm
# arm64
sudo zypper install https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_arm64.rpm
# armv6
sudo zypper install https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_armv6.rpm

Debian/Ubuntu

# amd64
curl -sL -o/var/cache/apt/archives/updatecli_amd64.deb https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_amd64.deb
# arm64
curl -sL -o/var/cache/apt/archives/updatecli_amd64.deb https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_arm64.deb
# armv6
curl -sL -o/var/cache/apt/archives/updatecli_amd64.deb https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_armv6.deb

Fedora/Centos/RedHat

# amd64
dnf install https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_amd64.rpm
# arm64
dnf install https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_arm64.rpm
# armv6
dnf install https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_armv6.rpm

Tgz

# amd64
curl -sL -o/tmp/updatecli_amd64.tgz https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_amd64.tgz
# arm64
curl -sL -o/tmp/updatecli_arm64.tgz https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_arm64.tgz
# armv6
curl -sL -o/tmp/updatecli_armv6.tgz https://github.com/updatecli/updatecli/releases/download/v0.25.0/updatecli_armv6.tgz

Docker

A docker image is also available on:

Remark: Because of the limits on DockerHub free account, it’s better to use the ghcr.io image.

Usage

 docker run -i -t -v "$PWD/updateCli.yaml":/updatecli/updateCli.yaml:ro ghcr.io/updatecli/updatecli:latest diff --config /updatecli/updateCli.yaml

 docker run -i -t -v "$PWD/updateCli.yaml":/updatecli/updateCli.yaml:ro ghcr.io/updatecli/updatecli:latest apply --config /updatecli/updateCli.yaml

 docker run -i -t ghcr.io/updatecli/updatecli:latest help

Edit this page on GitHub