From 3fbc682f95893e40534cd9a09db6e90737e08367 Mon Sep 17 00:00:00 2001 From: To Nguyen Date: Thu, 19 Mar 2026 01:53:55 +0700 Subject: [PATCH] Add update instructions to README for existing installations Co-Authored-By: Claude Opus 4.6 --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index f33a052..ae43926 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,29 @@ antigravity-superpowers --version # 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-`. Nếu cần rollback: + +```bash +rm -rf .agent +mv .agent-backup- .agent +``` + ### 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.