Portabase CLI
The official command line interface (CLI) for managing and deploying Portabase instances with ease.
[](https://score.getplumber.io/github.com/Portabase/cli)
[](LICENSE)
[](https://github.com/Portabase/portabase)
[](https://www.postgresql.org/)
[](https://www.mysql.com/)
[](https://mariadb.org/)
[](https://github.com/Portabase/portabase)
[](https://github.com/Portabase/portabase)
![Python][Python]
![Typer][Typer]
![Rich][Rich]
Website •
Documentation •
Installation •
Report Bug •
Request Feature
## Installation
You can install Portabase CLI using bash with the following command:
```bash
curl -sSL https://portabase.io/install | bash
```
- Development setup - [details](https://portabase.io/docs/cli#development-setup)
For more installation options, please refer to the [official documentation](https://portabase.io/docs/cli).
## License
Distributed under the Apache License. See `LICENSE.txt` for more details.
[Python]: https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54
[Typer]: https://img.shields.io/badge/typer-FF5733?style=for-the-badge&logo=typer&logoColor=white
[Rich]: https://img.shields.io/badge/rich-5E60CE?style=for-the-badge&logo=rich&logoColor=white
## Commands
```
portabase agent create NAME create an agent folder
portabase agent show|set|unset NAME
portabase agent db add|remove|list NAME
portabase dashboard create NAME create a dashboard folder
portabase dashboard show|set|unset NAME
portabase dashboard auth add|list|remove NAME
portabase start|stop|restart|logs|uninstall|build PATH
```
`portabase db` was removed: database commands only apply to an agent, use `portabase agent db`.
## Upgrading from 26.08 or earlier
From this release the CLI owns `docker-compose.yml`: it is re-rendered from your
`.env` and `databases.json` whenever you run `portabase agent db add`, `agent db remove` or
`build`. The first time that happens on an older install, the existing file is
copied to `docker-compose.legacy.yml` first.
- Preview the change before applying it: `portabase build