docs: adding update command to cli command guide (#1411)

This commit is contained in:
Rizel Scarlett
2025-02-27 11:19:25 -05:00
committed by GitHub
parent ebf1749f3e
commit 7c1bd2d5e7
3 changed files with 50 additions and 15 deletions

View File

@@ -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 `<name>` (e.g. 'Google Drive')

View File

@@ -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
:::
<Tabs groupId="interface">
<TabItem value="cli" label="Goose CLI" default>
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
</TabItem>
<TabItem value="ui" label="Goose Desktop">
:::info
To update Goose to the latest stable version, reinstall using the instructions below
:::
<div style={{ marginTop: '1rem' }}>
1. To update Goose Desktop, click the button below:
<div className="pill-button">
@@ -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.
</div>
</TabItem>
</Tabs>
All configuration settings will remain the same, with Goose updated to the latest version.
</Tabs>