53 linhas
1,8 KiB
Markdown
53 linhas
1,8 KiB
Markdown
<p align="center"><img src="assets/logo.png" alt="Interweb" width="280"></p>
|
|
|
|
# Interweb Mozambique Homebrew tap
|
|
|
|
<!-- badges:start -->
|
|
[](https://git.interweb.co.mz/interweb-mz/homebrew-tap/releases) [](LICENSE)
|
|
<!-- badges:end -->
|
|
|
|
[Português](README-pt.md)
|
|
|
|
Install `aio`, the Interweb Mozambique All in One AI command, with [Homebrew](https://brew.sh) on macOS and Linux.
|
|
|
|
```bash
|
|
brew install interweb-mz/tap/aio
|
|
```
|
|
|
|
Or add the tap first and then install:
|
|
|
|
```bash
|
|
brew tap interweb-mz/tap https://git.interweb.co.mz/interweb-mz/homebrew-tap
|
|
brew install aio
|
|
```
|
|
|
|
Homebrew also installs Node.js, which `aio` needs. Check it with `aio --version`.
|
|
|
|
## First steps
|
|
|
|
```bash
|
|
aio auth login # asks for your API key, checks it and saves it
|
|
aio balance # AI credits and plan
|
|
aio chat "Explain what DNS is"
|
|
aio generate image "a lighthouse at sunset" --out images/
|
|
aio mcp install claude # set up the MCP server in Claude Code
|
|
```
|
|
|
|
Create the key in the [API Center](https://www.meu.interweb.co.mz/api-center.php) of Meu Interweb, with the `ai:read` and `ai:write` permissions. With a `sandbox_` key nothing is charged. All the commands are in the [aio guide](https://docs.interweb.co.mz/cli/).
|
|
|
|
## Update and uninstall
|
|
|
|
```bash
|
|
brew update && brew upgrade aio
|
|
brew uninstall aio
|
|
```
|
|
|
|
The saved key stays in `~/.config/aio/config.json`. Run `aio auth logout` before uninstalling to delete it.
|
|
|
|
## Without Homebrew
|
|
|
|
See the [aio guide](https://docs.interweb.co.mz/cli/) for the one-line installer and for Windows. The source and the releases are in [api-cli](https://git.interweb.co.mz/interweb-mz/api-cli).
|
|
|
|
---
|
|
|
|
Maintained by RLX Holdings.
|