> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gloo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Launch GlooCode

> Start GlooCode in the terminal (TUI) or the browser (Web UI) and run your first task.

GlooCode has two interfaces: a **terminal UI (TUI)** and a **Web UI**. Both use the same credentials, the same agents, and the same project — pick whichever fits how you like to work.

## Launch the TUI

From any project directory, run:

```bash theme={null}
cd ~/my-project
gloocode
```

You'll land in the terminal interface. Type a task in natural language and GlooCode will plan the approach, write the code, run tests, and commit the result. You review and approve every change before it lands.

### Example prompts

Not sure what to try first? Here are some good starting points:

| Prompt                                                  | What GlooCode will do                                      |
| ------------------------------------------------------- | ---------------------------------------------------------- |
| `Explain this codebase`                                 | Read your project structure and give you an overview       |
| `Add input validation to the signup form`               | Find the form, add validation logic, write tests           |
| `Find and fix the failing test in src/auth`             | Diagnose the failure, fix the root cause, verify it passes |
| `Refactor the payment module to use the new Stripe API` | Plan the migration, update the code, run tests             |

## Launch the Web UI

If you'd rather work in a browser, start the Web UI:

```bash theme={null}
gloocode web
```

The Web UI auto-loads in your browser, giving you a graphical interface to the same GlooCode session — same agents, same project context, same approvals flow. It's a good option when you want a richer view of diffs, file trees, and conversation history than the terminal provides.

<Tip>
  On macOS you can also launch the Web UI from the GlooCode launcher app in your Applications.
</Tip>

## Next Steps

<Card title="Ask GlooCode" icon="comments" href="/gloocode/ask-gloocode">
  Not sure how to do something? GlooCode can answer questions about itself — learn how to ask.
</Card>
