Skip to content
garage
Esc
navigateopen⌘Jpreview

Quickstart

Install garage, sign in, create a repository, and push your first commit.

Create a hello-world repository and push a README. Follow the walkthrough yourself, or copy the setup prompt into a coding agent with terminal access.

You need Git, npm, and Node.js 24 or later.

Install the CLI

npm install --global @thegarage/cli
garage --version

The second command prints the installed version.

Sign in

garage setup

Open the URL that the CLI prints. Approve the device request. The command also selects an active organization and configures Git credentials.

Confirm the current identity:

garage auth status --json

Create the repository

garage repos create hello-world
garage repos get hello-world --json

The second command returns the repository in your active organization.

Clone and commit

garage clone hello-world
cd hello-world
printf '# Hello\n' > README.md
git add README.md
git commit -m "Initial commit"
git push -u origin main

Verify the result

git log --oneline -1
git status --short

The log contains Initial commit. The status command prints nothing because the working tree is clean.

Copy this prompt into a coding agent that can run terminal commands. The agent pauses when you must approve the sign-in or choose a repository name.

This prompt signs in as you, on your machine. To give an agent its own credential instead, see Set up with a coding agent.

Set up a new garage repository and verify the first push.

Was this page helpful?