Documentation menu

jdx upgrade

IDE equivalent: Self-update from GitHub Releases

Self-update this jdx from GitHub Releases (latest, or --version TAG). Only works on release installs (install-release.sh); source builds are refused. --check only reports whether an update exists. Exits 1 when the tag has no release, 3 on a non-release install, 5 on download failure.

Usage#

jdx upgrade [<options>]

Options#

OptionDescription
--jsonEmit machine-readable JSON instead of human-readable text (same information, D-007).
--checkOnly report whether an update exists; never download or install.
--version=<text>Upgrade (or check) a specific release tag, e.g. --version v1.1.0. Defaults to the latest release.
--repo=<text>GitHub repo to upgrade from as OWNER/NAME (default MohammadMD1383/jdx).
-h, --helpShow this message and exit

Full help text#

Show jdx upgrade --help
jdx upgrade --help
Usage: jdx upgrade [<options>]

  Self-update this jdx from GitHub Releases (latest, or --version TAG). Only works on release installs (install-release.sh); source builds are refused. --check only reports whether an update exists. Exits 1 when the tag has no release, 3 on a non-release install, 5 on download failure.

Options:
  --json            Emit machine-readable JSON instead of human-readable text (same information, D-007).
  --check           Only report whether an update exists; never download or install.
  --version=<text>  Upgrade (or check) a specific release tag, e.g. --version v1.1.0. Defaults to the latest release.
  --repo=<text>     GitHub repo to upgrade from as OWNER/NAME (default MohammadMD1383/jdx).
  -h, --help        Show this message and exit

Real output — this example ran against the current jdx when the page was built.

Learn more#

Guide: Installation · All commands

View as Markdown · Updated