rolecraft upgrade
Upgrade rolecraft itself to the latest version.
Usage
bash
rolecraft upgrade
rolecraft upgrade --dry-runDescription
Checks the npm registry for the latest version of rolecraft and upgrades if a newer version is available.
Uses npm install -g rolecraft under the hood. If rolecraft was installed with Homebrew it uses brew upgrade rolecraft instead, so the two install methods never fight over the same binary.
Use --dry-run to check for updates without actually upgrading.
Node.js API
This command is also available as a programmatic function. See the Node.js API documentation for detailed usage.
js
import { upgrade } from 'rolecraft'
const result = await upgrade({ dryRun: true })See also
- Commands hub — every command, grouped by intent.
rolecraft update— update skills instead of rolecraft.rolecraft doctor— check the install after an upgrade.
