update
Help page for codify update
codify update [CHANNEL] [--force | [-a | -v <value> | -i]] [--verbose]Use codify update to update the Codify CLI to the latest version or switch between release channels.
The update command checks for new versions of Codify and downloads them automatically.
Update Channels
Codify supports multiple release channels, similar to how Google Chrome manages different release tracks. This allows you to choose between stable, tested releases or early access to new features.
Available channels:
- stable (default) - Production-ready releases, thoroughly tested
- beta - Pre-release versions with new features, may contain bugs
By default, you'll be on the stable channel.
Arguments
[CHANNEL]
Optional. The release channel to update to or stay on.
Examples:
codify update stable # Switch to/update on stable channel
codify update beta # Switch to/update on beta channelIf no channel is specified, Codify updates to the latest version on your current channel.
Flags
Available versions: --available -a
Display a list of all available versions without installing anything. Useful for seeing what versions are published.
Example:
codify update --availableOutput:
Available versions:
0.8.0 (stable)
0.7.5 (stable)
0.7.4 (stable)
0.8.1-beta (beta)
0.8.0-beta (beta)Verbose: --verbose
Show more detailed information about available versions when combined with --available.
Example:
codify update --available --verboseInteractive: --interactive -i
Interactively select which version to install from a list. This provides a menu-driven interface for choosing specific versions.
Note: This flag is ignored if a channel is specified.
Example:
codify update --interactiveOutput:
? Select version to install:
❯ 0.8.0 (latest)
0.7.5
0.7.4
0.7.3Version: --version -v
Install a specific version by providing the version number directly.
Example:
codify update --version 0.7.5Force: --force
Force a re-download of the requested version, even if it's already installed. Useful for repairing a corrupted installation or ensuring you have a clean version.
Example:
codify update --forceExamples
Update to latest on current channel
Stay on your current channel and get the latest version:
codify updateSwitch to stable channel
Move to the stable channel and get its latest version:
codify update stableSwitch to beta channel
Start receiving beta releases:
codify update betaInstall a specific version
Downgrade or upgrade to an exact version:
codify update --version 0.7.5Interactively choose a version
Browse and select from available versions:
codify update --interactiveSee what's available
Check available versions without installing:
codify update --availableSee detailed version info
Get comprehensive information about releases:
codify update --available --verboseForce reinstall current version
Repair your installation:
codify update --forceVersion Verification
After updating, verify your new version:
codify --versionThis should display the newly installed version number.
Update Behavior
- Non-destructive: Updating Codify doesn't affect your configurations or installed resources
- Automatic backups: Your previous version is preserved in case you need to roll back
- Clean updates: Each version is installed fresh to avoid conflicts
Troubleshooting
Update fails to download
# Try forcing a fresh download
codify update --forceWant to roll back to previous version
# Install the specific version you had before
codify update --version 0.7.4Tips
- Run
codify updateregularly to get the latest features and bug fixes - Use
--availablebefore updating to see what's new - Beta channels are great for testing new features but may be less stable
- The
--forceflag is your friend if an update seems corrupted - You can always roll back to any previous version using
--version - Updates preserve all your configurations and settings—nothing is lost