Add update instructions to README for existing installations
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
23
README.md
23
README.md
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user