# free-pi documentation

How to install and use the free-pi CLI. Every page is also available as Markdown.

- [Getting started](https://freepi.ai/docs/getting-started.md): Install and run the free-pi CLI, sign in with GitHub, and start your first coding session in the terminal.
- [Using the agent](https://freepi.ai/docs/using-the-agent.md): free-pi runs the pi coding agent. Describe what you want built, fixed, or explained, and the agent works in your current directory.
- [Commands and flags](https://freepi.ai/docs/commands-and-flags.md): The command-line flags, subcommands, environment variables, and slash commands you use with free-pi-cli.
- [Models and limits](https://freepi.ai/docs/models-and-limits.md): Which models free-pi offers, how the free daily allowance works, and what to do when you reach it.
- [Ads and privacy](https://freepi.ai/docs/ads-and-privacy.md): How ads work in free-pi, what is collected from your sessions, and the promise that ad content never reaches the model.
- [Updating and troubleshooting](https://freepi.ai/docs/updating-and-troubleshooting.md): How free-pi-cli stays up to date, and fixes for the problems people hit most often.
