https://github.com/coollabsio/cli-coolify
CLI for Coolify API
https://github.com/coollabsio/cli-coolify
Last synced: 6 months ago
JSON representation
CLI for Coolify API
- Host: GitHub
- URL: https://github.com/coollabsio/cli-coolify
- Owner: coollabsio
- License: mit
- Created: 2023-08-25T18:58:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-02T17:32:58.000Z (6 months ago)
- Last Synced: 2025-04-02T18:33:56.359Z (6 months ago)
- Language: Go
- Homepage: https://coolify.io
- Size: 135 KB
- Stars: 91
- Watchers: 5
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# CLI for [Coolify](https://coolify.io) API
## Installation
```bash
curl -fsSL https://raw.githubusercontent.com/coollabsio/coolify-cli/main/scripts/install.sh | bash
```It will install the CLI in `/usr/local/bin/coolify` and the configuration file in `~/.config/coolify/config.json`
> If you are a windows or mac user, please test the installation script and let us know if it works for you.
## Configuration
1. Get a `` from your Coolify dashboard (Cloud or self-hosted) at `/security/api-tokens`### Cloud
2. Add the token with `coolify instances set token cloud `
### Self-hosted
2. Add the token with `coolify instances add -d `
> Replace `` with the name you want to give to the instance.
>
> Replace `` with the fully qualified domain name of your Coolify instance.Now you can use the CLI with the token you just added.
## Change default instance
You can change the default instance with `coolify instances set default `
## Currently Supported Commands
### Update
- `coolify update` - Update the CLI to the latest version
### Instances
- `coolify instances list` - List all instances
- `coolify instances add` - Create a new instance configuration
- `coolify instances remove` - Remove an instance configuration
- `coolify instances get` - Get an instance configuration
- `coolify instances set |` - Set an instance as default or set a token for an instance
- `coolify instances version` - Get the version of the Coolify API for an instance### Servers
- `coolify servers list` - List all servers
- `coolify servers get` - Get a server
- `--resources` - Get the resources and their status of a server