Skip to main content

update

Update the CLI binary via npm and refresh the API metadata.

update​

Self-update the CLI by running npm install -g shoplazza-cli@latest. The command also refreshes the API metadata (the generated command tree) and, if you installed them, the Agent Skills.

shell
shoplazza update [flags]

Flags​

FlagTypeDescription
--checkboolOnly report current and latest versions without installing (nothing is refreshed)

Examples​

shell
# Update to the latest version
shoplazza update

# Check for updates without installing
shoplazza update --check

Output (--check)​

json
{
"current": "2.2.1",
"latest": "2.2.2",
"skill_installed": false,
"up_to_date": false
}

Notes​

  • Requires Node.js and npm on your PATH. Without npm, the command fails (it still refreshes the API metadata unless you passed --check).
  • If the CLI was not installed via npm, a warning is displayed indicating that npm install -g will create a separate npm-managed copy.