mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-07-27 16:57:44 +00:00
docs: add upgrade tutorial section to README (en + zh)
Add section 9 "Upgrade Skills and CLI" between Supported Chains and Security, covering AI Agent prompt, CLI commands, and version check for both languages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -325,7 +325,39 @@ npx gmgn-cli order get --chain sol --order-id <order-id>
|
||||
|
||||
---
|
||||
|
||||
## 9. Security & Disclaimer
|
||||
## 9. Upgrade Skills and CLI
|
||||
|
||||
To upgrade `gmgn-cli` and Skills to the latest version:
|
||||
|
||||
**Via AI Agent (recommended)**
|
||||
|
||||
Send this to your AI agent:
|
||||
|
||||
```
|
||||
Run these two commands to update gmgn-cli and the skills:
|
||||
1. npm install -g gmgn-cli
|
||||
2. npx skills add GMGNAI/gmgn-skills
|
||||
```
|
||||
|
||||
**Via CLI**
|
||||
|
||||
```bash
|
||||
# Upgrade gmgn-cli
|
||||
npm install -g gmgn-cli
|
||||
|
||||
# Upgrade Skills
|
||||
npx skills add GMGNAI/gmgn-skills
|
||||
```
|
||||
|
||||
**Check the current version**
|
||||
|
||||
```bash
|
||||
gmgn-cli --version
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 10. Security & Disclaimer
|
||||
|
||||
**About `GMGN_PRIVATE_KEY`**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user