Overview
Thegrip update command automatically updates your Grip AI installation by pulling the latest source code from git and re-syncing dependencies. This command only works for git-based installations.
Usage
What It Does
The update process performs two main steps:- Pull latest source - Runs
git pull --ff-onlyto safely update code - Sync dependencies - Runs
uv syncorpip install -e .to update packages
Basic Update
Run without options to perform a full update:Options
—skip-deps
Pull source code only, skip dependency synchronization:- Dependencies haven’t changed
- You want faster updates
- You’ll sync dependencies manually later
Update Process
Step 1: Git Pull
Runsgit pull --ff-only to safely update:
--ff-onlyflag prevents merge conflicts- Refuses to update if local changes exist
- Shows changed files and line counts
Step 2: Dependency Sync
Updates Python packages: With uv (preferred):Installation Type Detection
Git-Based Installation
Update works when installed via git:Package Installation
Update fails for pip/pipx installations:Update Scenarios
No Updates Available
New Version Available
Local Changes Exist
Dependency Management
Using uv (Recommended)
Fastest dependency sync with uv:Using pip (Fallback)
Automatic fallback if uv not available:Skip Dependency Sync
Manual dependency management:Version Information
Check current version before updating:Update Frequency
Recommended Schedule
Weekly updates:Troubleshooting
Not a Git Repository
Merge Conflicts
Dependency Sync Failed
Permission Denied
Manual Update Process
Ifgrip update fails, update manually:
Post-Update Checks
Verify Installation
Test Basic Functionality
Check Configuration
Rollback
If update causes issues, rollback:Development Updates
For development branches:Related Commands
- grip status - Verify system after update
- grip config - Check configuration
- grip agent - Test agent functionality
- grip onboard - Reconfigure if needed