Codify
Commands

update

Help page for codify update

terminal
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 channel

If 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 --available

Output:

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 --verbose

Interactive: --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 --interactive

Output:

? Select version to install:
❯ 0.8.0 (latest)
  0.7.5
  0.7.4
  0.7.3

Version: --version -v

Install a specific version by providing the version number directly.

Example:

codify update --version 0.7.5

Force: --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 --force

Examples

Update to latest on current channel

Stay on your current channel and get the latest version:

codify update

Switch to stable channel

Move to the stable channel and get its latest version:

codify update stable

Switch to beta channel

Start receiving beta releases:

codify update beta

Install a specific version

Downgrade or upgrade to an exact version:

codify update --version 0.7.5

Interactively choose a version

Browse and select from available versions:

codify update --interactive

See what's available

Check available versions without installing:

codify update --available

See detailed version info

Get comprehensive information about releases:

codify update --available --verbose

Force reinstall current version

Repair your installation:

codify update --force

Version Verification

After updating, verify your new version:

codify --version

This 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 --force

Want to roll back to previous version

# Install the specific version you had before
codify update --version 0.7.4

Tips

  • Run codify update regularly to get the latest features and bug fixes
  • Use --available before updating to see what's new
  • Beta channels are great for testing new features but may be less stable
  • The --force flag 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

On this page