Easy Setup Guide: Run Goose AI Agent on Ubuntu Linux

in #tutorial2 hours ago

Goose is a powerful open-source AI agent that runs directly on your machine. It goes far beyond simple code suggestions — it can autonomously read/write files, execute shell commands, run tests, debug, install dependencies, and handle complex development workflows using any LLM you choose.

Whether you're a developer looking to automate repetitive tasks or want a true agentic teammate in your terminal, Goose (with both CLI and Desktop versions) is quickly gaining popularity in the Linux community.

Quick Installation on Ubuntu (Step-by-Step)

  1. Update your system

    sudo apt update && sudo apt upgrade -y
    
  2. Install the Goose CLI (recommended & easiest)

    curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
    
  3. Configure your LLM provider
    Run goose configure and connect to your preferred model (OpenAI, Anthropic, Ollama, OpenRouter, Gemini, DeepSeek, Kimi, etc.).

  4. Start a new session

    goose session
    

    Or use the Desktop app for a rich GUI experience.

Pro Tips for Ubuntu users:

  • Install dependencies like bzip2 if you run into extraction issues during install.
  • For the Desktop version, download the .deb package from the official releases and install with sudo dpkg -i.
  • Goose supports MCP extensions for added capabilities and works great with local models via Ollama.

Once set up, you can give Goose high-level instructions like “Build a FastAPI app with user authentication” and watch it plan, code, test, and iterate — all while running securely on your local machine.

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.078
BTC 62668.59
ETH 1695.46
USDT 1.00
SBD 0.40