# Air

> Live reload for Go apps

Source: https://talira.ai/catalog/air-x5em024g
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / file watchers](https://talira.ai/categories/developer-tools/build/file-watchers), [languages / go](https://talira.ai/categories/languages/go)
- Platforms: linux, macos, windows, docker, cli[^3][^5]
- Licence: GPL-3.0[^4]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- Self-hostable: yes[^3]
- Creator: Ricko Yu (cosmtrek)

Air is a live-reloading command-line tool for developing Go applications: run air in the project root and it rebuilds and restarts the app whenever a watched file changes. A .air.toml file (air init writes one) or flags set the build command, the binary and its arguments, what to watch and exclude, .env files to load and per-OS overrides. Watch rules run a command such as templ generate or an asset build instead of a rebuild, and an optional proxy reloads the browser after each rebuild. It has an official [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) image, and it's for development, not hot deploys in production.

## Links

- GitHub: https://github.com/air-verse/air

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/go-air>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/air>[^2]

## Problems it solves

- restart my Go web server every time I save instead of ctrl-c and go run again
- live reload for a Gin, Echo or Fiber API while I develop it
- rebuild my Go binary and rerun it with the same arguments on each change
- refresh the browser by itself after my Go web app rebuilds
- run templ generate or sqlc when template files change, then rebuild the Go app
- hot reload a Go app running in a Docker container with my code mounted as a volume
- load .env files before building and running my Go service in development
- restart a Go program under the Delve debugger whenever the code changes
- exclude vendor, tmp and node_modules from my Go file watcher

## Features

- .air.toml config, written by air init, or flags for every setting
- custom build command, entrypoint and binary arguments
- include and exclude by directory, extension, file and regex
- watches directories created after it starts
- watch rules that run a command instead of rebuilding
- proxy that reloads the browser after a successful rebuild
- .env file loading before build and run
- per-OS build overrides for Windows, macOS and Linux
- pre and post build commands
- colourful log output
- official Docker image (cosmtrek/air)

## Limitations

- Doesn't hot-deploy in production: it's a live-reload tool for development only[^3]
- Browser reload needs a \</body\> tag: its proxy serves pages without one unchanged[^3]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Ricko Yu (cosmtrek)

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [watchexec](https://talira.ai/catalog/watchexec-dq0r57ke.md): Executes commands in response to file modifications
- [entr](https://talira.ai/catalog/entr-tnjj7sns.md): Run arbitrary commands when files change
- [Reflex](https://talira.ai/catalog/reflex-q8sbmk06.md): Web apps in pure Python
- [bacon](https://talira.ai/catalog/bacon-sqn1nm4z.md): Background code checker

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^3]: https://github.com/air-verse/air (checked 20 Nov 2026)
[^4]: https://github.com/air-verse/air/blob/master/LICENSE (checked 20 Nov 2026)
[^5]: https://github.com/air-verse/air/releases/tag/v1.67.4 (checked 20 Nov 2026)
