Skip to content

rolecraft update ​

Re-install a skill to the latest version.

Usage ​

bash
rolecraft update <slug> [--dry-run]

Options ​

FlagDescription
--dry-runPreview what would be updated without making changes

Description ​

Fetches the skill source again and re-installs it, updating to the latest available version. The lockfile is updated with the new content hashes.

Examples ​

bash
rolecraft update my-skill
rolecraft update my-skill --dry-run    # preview only

Node.js API ​

This command is also available as a programmatic function. See the Node.js API documentation for detailed usage.

js
import { update } from 'rolecraft'
const result = await update('my-skill')

See also ​