cf update
Update the plugin, CLI and fix statusline configuration.
Usage
cf update # Update everything (plugin + CLI + statusline)
cf update --cli # Update only the CLI (npm package)
cf update --plugin # Update only the Claude Code plugin
cf update --statusline # Update only the statusline
cf update --project # Update plugin at project scope
cf update --local # Update plugin at local scope
What It Does
- Updates the Coding Friend plugin to the latest version
- Updates the Coding Friend CLI to the latest version
- Ensures the statusline points to the latest cached plugin version
- Ensures shell tab completion is up-to-date
- Validates that all configuration files are in place
- Fixes any missing or corrupted settings
Run this command periodically to stay current with the latest features and fixes.
Scope Flags
Scope flags (--user, --global, --project, --local) only apply to plugin updates. CLI and statusline updates are always global.
You can combine component and scope flags:
cf update --plugin --project # Update plugin at project scope only
cf update --plugin --local # Update plugin at local scope only
When no scope flag is given, the plugin update defaults to user scope (no interactive prompt).