docs: add upgrade instructions to README and SKILL.md

This commit is contained in:
jackwener
2026-03-11 12:43:51 +08:00
parent 93840ba99b
commit 84504b1477
2 changed files with 22 additions and 0 deletions

View File

@@ -59,6 +59,15 @@ uv tool install twitter-cli
pipx install twitter-cli pipx install twitter-cli
``` ```
Upgrade to the latest version:
```bash
uv tool upgrade twitter-cli
# Or: pipx upgrade twitter-cli
```
> **Tip:** Upgrade regularly to avoid unexpected errors from outdated API handling.
Install from source: Install from source:
```bash ```bash
@@ -333,6 +342,15 @@ After installation, OpenClaw can call `twitter-cli` commands directly.
uv tool install twitter-cli uv tool install twitter-cli
``` ```
升级到最新版本:
```bash
uv tool upgrade twitter-cli
# 或pipx upgrade twitter-cli
```
> **提示:** 建议定期升级,避免因版本过旧导致的 API 调用异常。
### 使用指南 ### 使用指南
```bash ```bash

View File

@@ -22,6 +22,10 @@ tags:
# Install (requires Python 3.8+) # Install (requires Python 3.8+)
uv tool install twitter-cli uv tool install twitter-cli
# Or: pipx install twitter-cli # Or: pipx install twitter-cli
# Upgrade to latest (recommended to avoid API errors)
uv tool upgrade twitter-cli
# Or: pipx upgrade twitter-cli
``` ```
## Authentication ## Authentication