Skip to main content

update

Update the CLI to the latest version via npm.

update

Self-update the CLI by running npm install -g shoplazza-cli@latest.

shoplazza update [flags]

Flags

FlagTypeDescription
--checkboolOnly report current and latest versions without installing

Examples

# Update to the latest version
shoplazza update

# Check for updates without installing
shoplazza update --check

Output (--check)

{
"current": "1.2.0",
"latest": "1.3.0",
"up_to_date": false
}

Notes

  • Requires Node.js and npm on your PATH.
  • If the CLI was not installed via npm, a warning is displayed indicating that npm install -g will create a separate npm-managed copy.