mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
feat: add PowerShell install script for Windows
- Add install.ps1 mirrored from install.sh patterns - Same env var overrides (BSK_REPO, BSK_VERSION, BSK_INSTALL_DIR) - Default install dir ~/.local/bin - Fetches latest version from version.json via Invoke-RestMethod - Downloads, extracts zip, installs bsk.exe - Adds to user PATH persistently with idempotent check - Supports x64 and ARM64 architecture detection - Update README.md Windows section with irm | iex one-liner - Update AGENT_INSTALL.md with Windows PowerShell instructions
This commit is contained in:
+10
-1
@@ -6,13 +6,22 @@ extension yourself (Step 3 is the user's job).
|
||||
|
||||
## 1. Install the CLI and skill
|
||||
|
||||
Run the install command from [`README.md`](README.md) (macOS/Linux):
|
||||
Run the install command from [`README.md`](README.md):
|
||||
|
||||
**macOS / Linux:**
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/Tencent/BrowserSkill/main/install.sh | sh
|
||||
bsk install-skill --yes
|
||||
```
|
||||
|
||||
**Windows (PowerShell):**
|
||||
|
||||
```powershell
|
||||
irm https://raw.githubusercontent.com/Tencent/BrowserSkill/main/install.ps1 | iex
|
||||
bsk install-skill --yes
|
||||
```
|
||||
|
||||
## 2. Run `bsk doctor`
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user