Skip to main content

arianet upgrade

This reference is generated from the CLI's own help on every release, so it always matches the latest arianet. The command help is the same text arianet <command> --help prints. For installation, configuration and a guided start, see the CLI page.

The global flags work with every command on this page.

arianet upgrade​

Upgrade arianet to the latest release

Upgrade arianet in place, the way it was installed:

Homebrew            runs: brew upgrade ariaservice/arianet/arianet
apt (Debian/Ubuntu) runs: sudo apt-get update && sudo apt-get install --only-upgrade -y arianet
(in a terminal; otherwise it prints the command and exits 1)
rpm downloads the release .rpm, verifies it, runs: sudo rpm -U
standalone binary (install script, manual download, Windows .exe) downloads
the release archive for this OS/architecture, verifies its
SHA-256 against checksums.txt (and the Sigstore signature
when cosign is installed) and replaces this executable.

If the executable's directory is not writable, re-run with sudo (or, on Windows, from a terminal opened as Administrator).

Exit codes with --check: 0 up to date, 2 a newer release is available, 1 the check failed.

Usage

arianet upgrade [flags]

Aliases: update

Examples

arianet upgrade
arianet upgrade --check
arianet upgrade --yes
arianet upgrade --version v0.4.0 --allow-downgrade

Flags

FlagTypeDefaultDescription
--allow-downgradeboolallow --version to install an older release
--checkboolonly report whether a newer release exists (exit 2 if one does)
--versionstringinstall this release (vX.Y.Z) instead of the latest
-y, --yesboolupgrade without asking