Installation
Give a try to updatecli !
Packages
Updatecli is a standalone binary available at 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 for newer versions, use brew outdated updatecli
.
To upgrade to the latest version, use brew upgrade updatecli
.
Linux
Opensuse
# amd64
sudo zypper install https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_amd64.rpm
# arm64
sudo zypper install https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_arm64.rpm
# armv6
sudo zypper install https://github.com/updatecli/updatecli/releases/download/v0.90.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.90.0/updatecli_amd64.deb
# arm64
curl -sL -o/var/cache/apt/archives/updatecli_amd64.deb https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_arm64.deb
# armv6
curl -sL -o/var/cache/apt/archives/updatecli_amd64.deb https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_armv6.deb
Fedora/Centos/RedHat
# amd64
dnf install https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_amd64.rpm
# arm64
dnf install https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_arm64.rpm
# armv6
dnf install https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_armv6.rpm
Arch Linux (AUR)
yay -S updatecli-bin
Tgz
# amd64
curl -sL -o/tmp/updatecli_amd64.tgz https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_amd64.tgz
# arm64
curl -sL -o/tmp/updatecli_arm64.tgz https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_arm64.tgz
# armv6
curl -sL -o/tmp/updatecli_armv6.tgz https://github.com/updatecli/updatecli/releases/download/v0.90.0/updatecli_armv6.tgz
Docker
A docker image is also available at:
Remark: Because of limitations on a 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
asdf
asdf is a multi-platform tool version manager. Review the Getting Started documentation for installation and usage explanations.
First add the updatecli asdf plugin:
asdf plugin add updatecli
Then, install updatecli latest version with:
asdf install updatecli latest
or an specific version with:
asdf install updatecli $version
You can list all available versions with:
asdf list-all updatecli
Once updatecli
is installed, do not forget to set the version you want to use with:
asdf global updatecli latest
or
asdf global updatecli $version