Homebrew tap: installing the aio command on macOS and Linux with brew

API & DocumentationSDKs, CLI & Libraries·· 32 views· 2 min read

If you use Homebrew on macOS or Linux, this tap installs aio, the All in One AI command, with one line. Homebrew also installs Node.js, which aio needs.

What it does

It adds aio to Homebrew. From then on, you install, update and remove aio with brew, like any other program.

What you need

Homebrew on macOS or Linux, and an API key from your Interweb account, created in the API Center of Meu Interweb.

Installing, step by step

1 Run brew install interweb-mz/tap/aio.
2 If you prefer, add the tap first with brew tap interweb-mz/tap https://git.interweb.co.mz/interweb-mz/homebrew-tap and then run brew install aio.
3 Check the install with aio --version.
4 Run aio auth login and paste the key. aio checks it and saves it.

The API key and its permissions

The key needs the ai:read and ai:write permissions. See how to create a key and pick its permissions.

Testing without spending

With a sandbox_ key nothing is charged. Try aio balance, which shows your AI credits and plan, and aio chat "Explain what DNS is".

Updating and uninstalling

To update: brew update && brew upgrade aio. To uninstall: brew uninstall aio.

The saved key stays in ~/.config/aio/config.json after you uninstall. Run aio auth logout first to delete it.

Good to know

Without Homebrew: the aio guide has the one-line installer and the Windows install.

The command itself: the aio source and releases are in api-cli. See the aio command (api-cli).

Help

If brew shows an error you do not understand, open a support ticket and send us the message. The formula is in the homebrew-tap repository, under the MIT license.

Ready to install aio with brew?

Download the latest release

SEE ALSO

The aio command (api-cli)

The aio command: AI in your terminal

Setting up the MCP server with aio mcp install

The repository on Interweb Git

SDKs and integrations, in the API documentation

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $5.36/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.