Documentation Index
Fetch the complete documentation index at: https://sunpeak.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
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
Already Up to Date
If you’re already on the latest version:Related Commands
sunpeak new
Create a new project
sunpeak dev
Start development server