From 7c1bd2d5e775295a1f3546dcfefe4a61deca6ee9 Mon Sep 17 00:00:00 2001 From: Rizel Scarlett Date: Thu, 27 Feb 2025 11:19:25 -0500 Subject: [PATCH] docs: adding update command to cli command guide (#1411) --- .../docs/getting-started/installation.md | 18 ++++++++------ .../docs/guides/goose-cli-commands.md | 24 +++++++++++++++++++ documentation/docs/guides/updating-goose.md | 23 +++++++++++------- 3 files changed, 50 insertions(+), 15 deletions(-) diff --git a/documentation/docs/getting-started/installation.md b/documentation/docs/getting-started/installation.md index cdfced6ff1..9c929791a4 100644 --- a/documentation/docs/getting-started/installation.md +++ b/documentation/docs/getting-started/installation.md @@ -31,6 +31,13 @@ import RateLimits from '@site/src/components/RateLimits'; ```sh curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false bash ``` + + :::tip Updating Goose + It's best to keep Goose updated. To update Goose, run: + ```sh + goose update + ``` + ::: To install Goose, click the **button** below: @@ -47,6 +54,10 @@ import RateLimits from '@site/src/components/RateLimits'; 1. Unzip the downloaded `Goose.zip` file. 2. Run the executable file to launch the Goose desktop application. + :::tip Updating Goose + It's best to keep Goose updated. To update, reperform installation steps. + ::: + :::note Permissions If you’re on an Apple Mac M3 and the Goose desktop app shows no window on launch, check and update the following: @@ -55,7 +66,6 @@ import RateLimits from '@site/src/components/RateLimits'; Goose needs this access to create the log directory and file. Once permissions are granted, the app should load correctly. For steps on how to do this, refer to the [Troubleshooting Guide](/docs/troubleshooting.md#macos-permission-issues-m3-macs) ::: - @@ -104,14 +114,8 @@ import RateLimits from '@site/src/components/RateLimits'; curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | CONFIGURE=false bash ``` - - :::tip Updating Goose - It’s best to keep Goose updated. To update, reperform installation steps. - ::: - - ## Set LLM Provider Goose works with a set of [supported LLM providers][providers], and you’ll need an API key to get started. When you use Goose for the first time, you’ll be prompted to select a provider and enter your API key. diff --git a/documentation/docs/guides/goose-cli-commands.md b/documentation/docs/guides/goose-cli-commands.md index a620c096f1..bbe0780366 100644 --- a/documentation/docs/guides/goose-cli-commands.md +++ b/documentation/docs/guides/goose-cli-commands.md @@ -106,6 +106,30 @@ goose --version --- +### update [options] + +Update the Goose CLI to a newer version. + +**Options:** + +- **`--canary, -c`**: Update to the canary (development) version instead of the stable version +- **`--reconfigure, -r`**: Forces Goose to reset configuration settings during the update process + +**Usage:** + +```bash +# Update to latest stable version +goose update + +# Update to latest canary version +goose update --canary + +# Update and reconfigure settings +goose update --reconfigure +``` + +--- + ### mcp Run an enabled MCP server specified by `` (e.g. 'Google Drive') diff --git a/documentation/docs/guides/updating-goose.md b/documentation/docs/guides/updating-goose.md index 7fb81c70a4..852b874523 100644 --- a/documentation/docs/guides/updating-goose.md +++ b/documentation/docs/guides/updating-goose.md @@ -9,18 +9,24 @@ import TabItem from '@theme/TabItem'; import { IconDownload } from "@site/src/components/icons/download"; import Link from "@docusaurus/Link"; -:::info -To update Goose to the latest stable version, reinstall using the instructions below -::: - - You can update Goose by simply running: + You can update Goose by running: ```sh goose update ``` + Additional [options](/docs/guides/goose-cli-commands#update-options): + + ```sh + # Update to latest canary (development) version + goose update --canary + + # Update and reconfigure settings + goose update --reconfigure + ``` + Or you can run the [installation](/docs/getting-started/installation) script again: ```sh @@ -35,6 +41,9 @@ To update Goose to the latest stable version, reinstall using the instructions b + :::info + To update Goose to the latest stable version, reinstall using the instructions below + :::
1. To update Goose Desktop, click the button below:
@@ -52,6 +61,4 @@ To update Goose to the latest stable version, reinstall using the instructions b 5. Run the executable file to launch the Goose desktop application.
- - -All configuration settings will remain the same, with Goose updated to the latest version. + \ No newline at end of file