update
nexus update
nexus update [--check] [--rollback] [--json]| Option | Meaning |
|---|---|
--check | Only check; change nothing |
--rollback | Restore the version before the last update |
--json | Print only JSON on stdout |
| Exit code | Meaning |
|---|---|
| 0 | Updated, already up to date, rolled back, or (--check) checked |
| 1 | Nothing changed: Gateway unreachable, a checksum mismatch, or this CLI was not installed by Nexus's installer |
nexus update
nexus update --check --json
nexus update --rollback