This guide will help you build and run the Goose AI chat UI on Windows.
You'll need the following tools installed on your Windows machine:
- 
Rust - Install via one of these methods: winget install Rustlang.Rustupor choco install rustup.installor scoop install rustup
- 
Node.js - Required for building the desktop app: winget install OpenJS.NodeJS.LTSor choco install nodejs-lts
- 
Git - For cloning the repository: winget install Git.Gitor choco install git
- 
Clone the repository: git clone https://github.com/block/goose.git cd goose
- 
Download the build script: Save the build_goose_msvc.batscript from this gist to the root of the goose repository.
- 
Run the build script: build_goose_msvc.batWhen prompted, type yto build both the CLI and desktop app.
- 
After successful build: The compiled binaries will be in: - CLI: output\goose.exe
- Desktop app: output\desktop\Goose.exe
 
- CLI: 
After building, you need to copy the required DLL files to make Goose work from any directory:
- 
Copy required DLLs to the CLI directory: copy "output\desktop\resources\bin\libstdc++-6.dll" "output\" copy "output\desktop\resources\bin\libgcc_s_seh-1.dll" "output\" copy "output\desktop\resources\bin\libwinpthread-1.dll" "output\"
- 
Create a command alias (optional): doskey goose="C:\path\to\goose\output\goose.exe"To make this permanent, you can create a .bator.cmdfile in a directory in your PATH with:@echo off "C:\path\to\goose\output\goose.exe" %*
Now you should be able to run Goose from any directory!
If you want to use Goose with local models via Ollama:
- 
Install Ollama: winget install Ollama.Ollama
- 
Download a compatible model: git clone https://github.com/michaelneale/deepseek-goose-models.git cd deepseek-goose-models ollama create michaelneale/deepseek-r1-goose -f Modelfile
- 
Configure Goose: Run the CLI: output\goose.exeDuring configuration: - Enter http://localhost:11434for "Provider Ollama requires OLLAMA_HOST"
- Enter michaelneale/deepseek-r1-goose:latestfor "Enter a model from that provider"
 
- Enter 
- 
Run Goose: You can now use either the CLI ( output\goose.exe) or desktop app (output\desktop\Goose.exe).
- Missing rustup: If you get errors about rustup not recognized, ensure you've installed Rust via rustup.rs and opened a new command prompt.
- Build errors: Make sure you have the Microsoft Visual C++ Build Tools installed (typically comes with Visual Studio).
- Desktop app issues: Ensure Node.js is properly installed and in your PATH.