Overview
Thesunpeak upgrade command checks for new versions of sunpeak and optionally upgrades to the latest version.
How It Works
The upgrade command:- Checks your currently installed version
- Fetches the latest version from npm
- Compares versions and reports if an update is available
- Automatically upgrades using your package manager (unless
--checkis specified)
Options
| Option | Short | Description |
|---|---|---|
--check | -c | Check for updates without installing |
--help | -h | Show help message |
Usage Examples
Upgrade to Latest
Check for Updates Only
See if a new version is available without installing:Package Manager Detection
The command automatically detects and uses your package manager:- pnpm -
pnpm add -g sunpeak - npm -
npm install -g sunpeak - yarn -
yarn global add sunpeak