Add update instructions to README for existing installations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 01:53:55 +07:00
parent f9d8be647e
commit 3fbc682f95

View File

@@ -63,6 +63,29 @@ antigravity-superpowers --version
# 0.2.0 # 0.2.0
``` ```
### Update to latest version
```bash
# 1. Pull source mới
cd antigravity-superpowers
git pull
npm link
# 2. Tại mỗi project đã init trước đó — update profile với backup
cd /path/to/your/project
antigravity-superpowers init --force --backup
# 3. Kiểm tra profile sau update
antigravity-superpowers validate
```
Bản cũ được giữ lại tại `.agent-backup-<timestamp>`. Nếu cần rollback:
```bash
rm -rf .agent
mv .agent-backup-<timestamp> .agent
```
### Install from npm (when published) ### Install from npm (when published)
> Package chưa được publish lên npm. Các lệnh dưới đây sẽ hoạt động sau khi publish. > Package chưa được publish lên npm. Các lệnh dưới đây sẽ hoạt động sau khi publish.