lift self-rollback
Rollback the Lift CLI binary to the previous version from backup.
lift self-rollback
Rollback the Lift CLI binary to the previous version. Requires a prior lift self-update which creates a .bak backup.
Usage
lift self-rollback
Example
$ lift self-rollback
Current: v1.2.0
Previous: v1.1.0
Rolling back...
Rolled back from v1.2.0 to v1.1.0
# When no backup exists
$ lift self-rollback
No previous version found. Run 'lift self-update' first to create a backup.
Notes
- Uses atomic binary swap for safety (current -> .tmp, backup -> current).
- Verifies the restored binary works before completing.
- Only works with regular files (not symlinked installs).
Related
- lift self-update - Update CLI to latest version
- lift version - Check current version