Clever Tools

The official CLI for Clever Cloud - Deploy and manage your applications, add-ons, and services from the command line with modern tooling and automated workflows. The perfect developer companion, complementing the Clever Cloud Console.
Quick Start
Prerequisites: Node.js 22+
npm install -g clever-tools
npx --yes clever-tools@latest version
First steps:
clever login
clever profile
Key Features
- Complete Platform Control: Manage applications, add-ons, domains, and services from the command line
- Real-time Monitoring: Stream logs, monitor deployments, and check application status
- Seamless Deployment: Deploy directly from your local environment or CI/CD pipelines
- Cross-platform: Available for Linux, macOS, Windows via multiple package managers
- API Integration: Direct access to Clever Cloud's API with authenticated commands
Installation Options
For Node.js users, npm is the fastest way. For other installation methods including:
- Docker images
- Binary downloads
- Native packages (RPM, DEB)
- Package managers (Homebrew, WinGet, AUR)
See our complete setup guide.
Autocompletion
Enable smart autocompletion for bash or zsh:
clever --bash-autocomplete-script $(which clever) | sudo tee /usr/share/bash-completion/completions/clever
clever --zsh-autocomplete-script $(which clever) | sudo tee /usr/share/zsh/site-functions/_clever
Documentation
Basic Usage
Authentication
clever login
clever login --token <your-token> --secret <your-secret>
export CLEVER_TOKEN="your-token"
export CLEVER_SECRET="your-secret"
clever profile
Application Management
clever applications list
clever applications create --type node
clever link <app_id>
clever deploy
clever logs --since 1h
clever restart --app <app_id>
Learn more in our Application Management Guide.
Add-ons & Services Management
clever addon
clever addon create postgresql-addon myPG
clever addon create cellar-addon myCellar
clever addon create keycloak myKeycloak
clever features enable operatos
clever keycloak get myKetcloak
Learn more in our Add-ons & Services Guide.
Create and manage
API Access with clever curl and clever tokens
Access Clever Cloud's API directly through authenticated commands:
clever curl https://api.clever-cloud.com/v2/self
clever curl https://api.clever-cloud.com/v2/summary
clever curl https://api.clever.cloud/v2/organisations/<ORG_ID>/applications | jq '.[].id'
clever tokens create myTokenName
clever tokens create myTokenName --expiration 2w --format json
Learn more about API integration in our API How-to Guide.
Get Help
clever help
clever <command> --help
clever --format json <command>
Support & Contributing
License
This project is licensed under the Apache-2.0.