vibetoken-cli

安装

macOS 和 Linux

curl -fsSL https://vt-cli.lutaonan.com/install.sh | bash

vibetoken 会安装到 ~/.local/bin,重新运行即可升级。可选环境变量:

变量 作用
VIBETOKEN_VERSION 安装指定版本,如 v0.1.0
VIBETOKEN_INSTALL_DIR 安装到其他目录
VIBETOKEN_DOWNLOAD_URL 从镜像下载

Windows

在 PowerShell 中运行:

$dir = "$env:LOCALAPPDATA\Programs\vibetoken"
New-Item -ItemType Directory -Force $dir | Out-Null
Invoke-WebRequest https://github.com/djyde/vibetoken-cli/releases/latest/download/vibetoken_windows_amd64.zip -OutFile "$env:TEMP\vibetoken.zip"
Expand-Archive "$env:TEMP\vibetoken.zip" $dir -Force
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";$dir", "User")

完成后打开一个新的终端。ARM 设备请改用 vibetoken_windows_arm64.zip。也可以从 Releases 手动下载 zip,把 vibetoken.exe 放到 PATH 中的任意目录。

从源码安装

go install github.com/djyde/vibetoken-cli/cmd/vibetoken@latest