4.4 KiB
sidebar_position, title
| sidebar_position | title |
|---|---|
| 2 | Quickstart |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import Link from "@docusaurus/Link"; import { IconDownload } from "@site/src/components/icons/download";
Goose in 5 minutes
:::info Supported Environments Goose currently works only on macOS and Linux systems, and supports both ARM and x86 architectures. If you'd like to request support for additional operating systems, please open an issue on GitHub. :::
Goose is a developer AI agent that supercharges your software development by automating coding tasks. This Quickstart will guide you through getting started with Goose and covers using both the CLI and Desktop UI.
Install Goose
#### Installing the Goose CLI To install Goose, run the following script on macOS or Linux.```sh
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | sh
```
This script will fetch the latest version of Goose and set it up on your system.
#### Installing the Goose Desktop Application
To install Goose, click the **button** below:
Configure Provider
Goose works with supported LLM providers. When you first run Goose, you'll be prompted to supply an API key from your preferred LLM provider.
The process will look similar to the example below:
 :::info Billing You will need to have credits in your LLM Provider account (when necessary) to be able to successfully make requests. Some providers also have rate limits on API usage, which can affect your experience. Check out our Handling Rate Limits guide to learn how to efficiently manage these limits while using Goose. :::
Start Session
From your terminal, navigate to the directory from which you'd like to start, and run: ```sh goose session ``` After choosing an LLM provider, you’ll see the session interface ready for use. Type your questions, tasks, or instructions directly into the input field, and Goose will immediately get to work.

</TabItem>
Write Prompt
You will see the Goose prompt ( O)>. From here, you can interact with Goose in conversational sessions. Think of it as you're giving directions to a junior developer.
( O)> type your instructions here exactly as you would speak to a developer.
Here's an example:
Create a JavaScript project that fetches and displays weather for a user-specified city using a public API
You can interrupt Goose with CTRL+C while it is running to help redirect its efforts.
Next Steps
- Install Extensions to enhance Goose's functionality.
- Provide Goose with a set of hints to use within your sessions.