maton upgrade

maton upgrade [version] [flags]

Upgrade the maton CLI by re-running the installer for the active install method:

  • npm-managed: npm install -g @maton/cli
  • bun-managed: bun add -g @maton/cli
  • Windows: irm https://maton.ai/install.ps1 | iex
  • otherwise: curl -fsSL https://maton.ai/install.sh | bash

Pass a version (e.g. “1.2.3”) to pin.

Options

--dry-run
Print the command that would run without executing it
--force
Re-run the installer even if already on the requested version

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

ALIASES

maton update

Examples

$ maton upgrade
$ maton upgrade 1.2.3
$ maton upgrade --dry-run

See also