更新 goose
goose CLI 和 Desktop 应用都处于持续开发中。为了获得最新功能、修复和性能改进,建议你定期按下面的方法更新 goose 客户端。
- macOS
- Linux
- Windows
- goose Desktop
- goose CLI
把 goose 更新到最新稳定版。
To automatically download and install updates:
- Click the button in the top-left to open the sidebar
- Click
Settingsin the sidebar - Click
App - Scroll down to the
Updatessection:- Check if your current version is "up to date" or if a newer version is available
- To automatically download the newer version, click
Check for Updates
- Click
Install & Restartto immediately relaunch goose Desktop and apply the update
Note: If the app can't be automatically updated, you'll be prompted to manually install the downloaded version
如果要手动下载安装更新:
-
Click one of the buttons below to download goose Desktop for macOS:
- 解压下载得到的 zip 文件
- 将解压出的
Goose.app拖到Applications文件夹中,覆盖当前版本 - 启动 goose Desktop
你可以运行下面的命令更新 goose:
goose update
其他可用选项:
# Update to latest canary (development) version
goose update --canary
# Update and reconfigure settings
goose update --reconfigure
你也可以重新执行安装脚本:
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false bash
如果要查看当前 goose 版本,请运行:
goose --version
- goose Desktop
- goose CLI
把 goose 更新到最新稳定版。
To automatically download and install updates:
- Click the button in the top-left to open the sidebar
- Click
Settingsin the sidebar - Click
App - Scroll down to the
Updatessection:- Check if your current version is "up to date" or if a newer version is available
- To automatically download the newer version, click
Check for Updates
- Click
Install & Restartto immediately relaunch goose Desktop and apply the update
Note: If the app can't be automatically updated, you'll be prompted to manually install the downloaded version
如果要手动下载安装更新:
-
Click one of the buttons below to download goose Desktop for Linux:
对 Debian / Ubuntu 系发行版
- 在终端中切换到下载好的 DEB 文件所在目录
- 运行
sudo dpkg -i (filename).deb - 从应用菜单中启动 goose
你可以运行下面的命令更新 goose:
goose update
其他可用选项:
# Update to latest canary (development) version
goose update --canary
# Update and reconfigure settings
goose update --reconfigure
你也可以重新执行安装脚本:
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false bash
如果要查看当前 goose 版本,请运行:
goose --version
- goose Desktop
- goose CLI
把 goose 更新到最新稳定版。
To automatically download and install updates:
- Click the button in the top-left to open the sidebar
- Click
Settingsin the sidebar - Click
App - Scroll down to the
Updatessection:- Check if your current version is "up to date" or if a newer version is available
- To automatically download the newer version, click
Check for Updates
- Click
Install & Restartto immediately relaunch goose Desktop and apply the update
Note: If the app can't be automatically updated, you'll be prompted to manually install the downloaded version
如果要手动下载安装更新:
-
Click one of the buttons below to download goose Desktop for Windows:
- 解压下载得到的 zip 文件
- 运行解压出的可执行文件来启动 goose Desktop
你可以运行下面的命令更新 goose:
goose update
其他可用选项:
# Update to latest canary (development) version
goose update --canary
# Update and reconfigure settings
goose update --reconfigure
你也可以在 Git Bash、MSYS2 或 PowerShell 中重新执行安装脚本,在 Windows 原生环境下更新 goose CLI:
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false bash
如果要查看当前 goose 版本,请运行:
goose --version
通过 Windows Subsystem for Linux (WSL) 更新
如果你是在 WSL 中安装的 goose,可以使用 goose update,或通过 WSL 重新执行安装脚本:
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false bash
如果你是在 CI 或其他非交互环境中运行 goose,建议通过 GOOSE_VERSION 固定版本,以获得可复现的安装结果。完整示例和使用方式请参考 CI/CD Environments。