The anvil update command updates your Anvil installation to the latest version.
anvil update [flags]--dry-run: Preview the update process without actually updating--help: Show help information
- Verifies macOS platform and curl availability
- Downloads the latest installation script from GitHub releases
- Executes the script to install the latest binary
- Validates the update was successful
The update process automatically detects your system architecture (Intel or Apple Silicon) and downloads the appropriate binary.
anvil update # Update to latest version
anvil update --dry-run # Preview update without changes- Terminal Restart: May need to restart terminal for changes to take effect
- Admin Permissions: Script may request admin permissions for
/usr/local/bin/ - Internet Required: Active internet connection required
- Configuration Preserved:
~/.anvil/settings.yamlremains unchanged
- curl not available: Install via
brew install curl - Update script failed: Check internet connection or try again (GitHub rate limits)
- Permission denied: Script will request admin permissions automatically
- Update doesn't take effect: Restart terminal or run
hash -r