arianet upgrade
این مرجع در هر نسخه به طور خودکار از راهنمای خود CLI ساخته میشود، پس همیشه با آخرین نسخه arianet یکی است. متن راهنمای هر دستور همان متن انگلیسی است که arianet <command> --help نشان میدهد. برای نصب، تنظیم توکن و شروع کار، صفحه رابط خط فرمان را ببینید.
فلگهای سراسری با همه دستورهای این صفحه کار میکنند.
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.
نحوه استفاده
arianet upgrade [flags]
نامهای دیگر: update
مثالها
arianet upgrade
arianet upgrade --check
arianet upgrade --yes
arianet upgrade --version v0.4.0 --allow-downgrade
فلگها
| فلگ | نوع | پیشفرض | توضیح |
|---|---|---|---|
--allow-downgrade | bool | allow --version to install an older release | |
--check | bool | only report whether a newer release exists (exit 2 if one does) | |
--version | string | install this release (vX.Y.Z) instead of the latest | |
-y, --yes | bool | upgrade without asking |