Clever Tools - CLI commands reference
This document is automatically generated from Clever Tools 3.14.0 and Clever Cloud API. It covers all Clever Tools commands and options. Use it to better understand this CLI and its capabilities or to train/use LLMs, AI-assisted IDEs.
To use Clever Tools, you need:
- A Clever Cloud account, create one at https://console.clever-cloud.com/
- The Clever Tools CLI installed, see installation instructions below
In CI/CD pipelines or for one-off usage, you can use it through npx or npm exec:
# Set/Export CLEVER_TOKEN and CLEVER_SECRET to login with a given account
# --yes is used to skip the interactive prompts
npx --yes clever-tools@latest versionYou’ll also need:
- To be logged in with
clever logincommand (you’ll get a$HOME/.config/clever-cloud/clever-tools.jsonfile) - git installed on your system and properly configured
- A local git repository with at least one commit to deploy your application
To control an application with Clever Tools, it must be linked to a local directory (a .clever.json file is present, containing its app_id, name, local alias, org_id, deploy_url, git_ssh_url). You can target an application on most commands with --app app_id_or_name option.
How to install Clever Tools
Clever Cloud CLI is based on Node.js. We thought it to be easily available on any platform. Thus, you can download Clever Tools as a npm package, but also through package managers or as a binary on many systems:
GNU/Linux
Arch Linux (AUR)
If you use Arch Linux, install packages from AUR. If you don’t know how to use this, run:
git clone https://aur.archlinux.org/clever-tools-bin.git clever-tools
cd clever-tools
makepkg -siCentOS/Fedora (.rpm)
If you use a GNU/Linux distribution that uses .rpm packages like CentOS or Fedora, run:
curl -s https://clever-tools.clever-cloud.com/repos/cc-nexus-rpm.repo > /etc/yum.repos.d/cc-nexus-rpm.repo
yum update
yum install clever-toolsTip
The .rpm packages are hosted on Clever Cloud’s public Nexus instance available at https://nexus.clever-cloud.com
Debian/Ubuntu (.deb)
If you use a GNU/Linux distribution that uses .deb packages like Debian or Ubuntu, run:
curl -fsSL https://clever-tools.clever-cloud.com/gpg/cc-nexus-deb.public.gpg.key | gpg --dearmor -o /usr/share/keyrings/cc-nexus-deb.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/cc-nexus-deb.gpg] https://nexus.clever-cloud.com/repository/deb stable main" | tee -a /etc/apt/sources.list
apt update
apt install clever-toolsTip
The .deb packages are hosted on Clever Cloud’s public Nexus instance available at https://nexus.clever-cloud.com.
Our PGP key is required to trust the repository
Exherbo
If you are using Exherbo, run:
cave resolve repository/CleverCloud -zx1
cave resolve clever-tools-bin -zxOther distributions (.tar.gz)
If you use another GNU/Linux distribution, download the .tar.gz archive and extract the binary in your PATH:
curl -O https://clever-tools.clever-cloud.com/releases/latest/clever-tools-latest_linux.tar.gz
tar xvzf clever-tools-latest_linux.tar.gz
cp clever-tools-latest_linux/clever ~/.local/bin/Tip
The packages are available on Clever Cloud’s Cellar bucket: clever-tools-latest_linux.tar.gz.
Retrieve any release by replacing latest (path and filename) with the version number you need.
macOS
Homebrew
If you use macOS and you have Homebrew installed, run:
brew install CleverCloud/homebrew-tap/clever-toolsBinary (.tar.gz)
If you use macOS, but you don’t have Homebrew installed, download the .tar.gz archive and extract the binary in your PATH:
curl -O https://clever-tools.clever-cloud.com/releases/latest/clever-tools-latest_macos.tar.gz
tar xvzf clever-tools-latest_macos.tar.gz
cp clever-tools-latest_macos/clever ~/.local/bin/Tip
The packages are available on Clever Cloud’s Cellar bucket: clever-tools-latest_macos.tar.gz.
Retrieve any release by replacing latest (path and filename) with the version number you need.
Windows
Winget
If you use Windows run in a terminal:
winget install CleverToolsChocolatey
If you prefer to use Chocolatey, run:
choco sources add -n=clevercloud -s='https://nexus.clever-cloud.com/repository/nupkg/'
choco feature disable --name='usePackageRepositoryOptimizations'
choco install clever-toolsWe need to disable usePackageRepositoryOptimizations feature because of an incompatibility between Chocolatey and Nexus.
Binary (.zip)
You can also download the .zip archive and extract the binary in your PATH:
Invoke-WebRequest https://clever-tools.clever-cloud.com/releases/latest/clever-tools-latest_win.zip -OutFile clever-tools-latest_win.zip
Expand-Archive .\clever-tools-latest_win.zip -DestinationPath .
$env:PATH += ";$(Resolve-Path .\clever-tools-latest_win\)"Tip
The packages are available on Clever Cloud’s Cellar bucket: clever-tools-latest_win.zip.
Retrieve any release by replacing latest (path and filename) with the version number you need.
Docker
If you are using docker, use the image provided here.
docker pull clevercloud/clever-tools
docker run --rm clever-tools <command>Dockerfile
In your Dockerfile copy clever-tools from the image itself with a simple one liner:
COPY --from=clevercloud/clever-tools /bin/clever /usr/local/bin/cleverNix package manager
If you are using Nix on NixOS or any other compatible system, the package is available in both stable and unstable channels. Follow these instructions.
Application types and zones
You can deploy applications on Clever Cloud with the following runtimes type: docker, dotnet, elixir, frankenphp, go, gradle, haskell, jar, linux, maven, meteor, node, php, play1, play2, python, ruby, rust, sbt, static, static-apache, v, war
Available flavors: pico, nano, XS, S, M, L, XL, 2XL, 3XL
Flavor pico is not available for the following instances: docker, frankenphp, php, static-apache
Applications deployment zones (region): par, parhds, fr-north-hds, grahds, ldn, mtl, rbx, rbxhds, scw, sgp, syd, wsw
Add-on providers, plans and zones (region)
mysql-addon:- plans:
m_med,m_big,xxs_big,l_big,xl_big,xxl_sml,xxl_hug,l_sml,xs_tny,s_med,xs_sml,dev,l_med,xl_med,xxl_med,xxl_big,m_sml,xs_big,xl_sml,s_sml,xxs_sml,xxs_med,xs_med,s_big - zones:
par,parhds,rbx,rbxhds,scw,ldn,sgp,grahds,wsw,mtl,syd
- plans:
mongodb-addon:- plans:
xl_big,xs_med,m_big,xl_sml,xxl_sml,s_sml,m_sml,xxl_med,dev,m_med,xs_sml,s_med,xl_med,l_sml,m_hug,xs_big,s_hug,xxl_big,l_big,l_med,s_big - zones:
par,rbx,scw,ldn,sgp,wsw,mtl,syd
- plans:
config-provider:- plans:
std - zones:
par,parhds
- plans:
otoroshi:- plans:
base - zones:
par,rbx,rbxhds,scw,sgp,fr-north-hds,grahds,wsw,mtl,syd
- plans:
kv:- plans:
alpha - zones:
par
- plans:
addon-matomo:- plans:
beta - zones:
par,rbx,scw,sgp,wsw,mtl,syd
- plans:
postgresql-addon:- plans:
xs_sml,xl_hug,xxs_sml,xl_sml,xs_big,xs_tny,xxl_sml,xxs_med,l_big,m_sml,l_sml,xxxl_sml,m_big,s_hug,xxxl_med,xxxl_big,s_sml,l_gnt,xxl_hug,xxl_med,s_med,m_med,xxl_big,xxs_big,l_med,xl_med,s_big,xl_gnt,dev,xl_big,xs_med - zones:
par,parhds,rbx,rbxhds,scw,ldn,sgp,grahds,wsw,mtl,syd
- plans:
azimutt:- plans:
team-3,solo,team-5,team-4,team,free,team-2,enterprise - zones:
par
- plans:
mailpace:- plans:
clever_solo,clever_scaling_10,clever_scaling_70,clever_scaling_50,clever_scaling_20,clever_scaling_30,clever_scaling_100,clever_scaling_40 - zones:
par
- plans:
jenkins:- plans:
M,XS,L,XL,S - zones:
par,rbxhds,scw,ldn,grahds
- plans:
metabase:- plans:
base - zones:
par,rbx,rbxhds,scw,sgp,fr-north-hds,grahds,wsw,mtl,syd
- plans:
cellar-addon:- plans:
S - zones:
par,parhds,rbxhds,fr-north-hds
- plans:
fs-bucket:- plans:
s - zones:
par,rbx,scw,ldn,sgp,wsw,mtl,syd
- plans:
keycloak:- plans:
base - zones:
par,rbx,scw,sgp,wsw,mtl,syd
- plans:
addon-pulsar:- plans:
beta - zones:
par,parhds
- plans:
es-addon:- plans:
xs,xl,l,4xl,xxxl,xxl,s,m,5xl - zones:
par,parhds,rbx,rbxhds,scw,ldn,sgp,grahds,wsw,mtl,syd
- plans:
redis-addon:- plans:
m_mono,xxxxl_mono,s_mono,l_mono,xxxl_mono,xl_mono,xxl_mono - zones:
par,parhds,rbx,rbxhds,scw,ldn,sgp,grahds,wsw,mtl,syd
- plans:
Default deployment zone is par, default plan is the lowest available.
How to use Clever Tools, CLI reference
Usage: cleverDescription: CLI tool to manage Clever Cloud’s data and products
Options:
[--help, -?] Display help about this program (default: false)
[--version, -V] Display the version of this program (default: false)
[--color] Choose whether to print colors or not. You can also use --no-color (default: true)
[--update-notifier] Choose whether to use update notifier or not. You can also use --no-update-notifier (default: true)
[--verbose, -v] Verbose output (default: false)Note: The options listed above (--help, --version, --color, --update-notifier, --verbose) are available for all Clever Tools commands and sub-commands
accesslogs
Usage: accesslogsDescription: Fetch access logs
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json, json-stream) (default: human)
[--before, --until] BEFORE Fetch logs before this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)
[--after, --since] AFTER Fetch logs after this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)
[--addon] ADDON_ID Add-on IDactivity
Usage: activityDescription: Show last deployments of an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--follow, -f] Track new deployments in activity list (default: false)
[--show-all] Show all activity (default: false)
[--format, -F] FORMAT Output format (human, json, json-stream) (default: human)addon
Usage: addonDescription: Manage add-ons
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)addon create
Usage: create ADDON-PROVIDER ADDON-NAMEDescription: Create an add-on
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--link, -l] ALIAS Link the created add-on to the app with the specified alias
[--yes, -y] Skip confirmation even if the add-on is not free (default: false)
[--plan, -p] PLAN Add-on plan, depends on the provider (default: )
[--region, -r] REGION Region to provision the add-on in, depends on the provider (default: par)
[--addon-version] ADDON-VERSION The version to use for the add-on
[--option] OPTION Option to enable for the add-on. Multiple --option argument can be passed to enable multiple options
[--format, -F] FORMAT Output format (human, json) (default: human)addon delete
Usage: delete ADDON-IDDescription: Delete an add-on
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--yes, -y] Skip confirmation and delete the add-on directly (default: false)addon rename
Usage: rename ADDON-ID ADDON-NAMEDescription: Rename an add-on
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)addon list
Usage: listDescription: List available add-ons
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)addon providers
Usage: providersDescription: List available add-on providers
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)addon providers show
Usage: show ADDON-PROVIDERDescription: Show information about an add-on provider
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)addon env
Usage: env ADDONDescription: List environment variables for an add-on
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json, shell) (default: human)applications
Usage: applicationsDescription: List linked applications
Options:
[--only-aliases] List only application aliases (default: false)
[--json, -j] Show result in JSON format (default: false)applications list
Usage: listDescription: List all applications
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)cancel-deploy
Usage: cancel-deployDescription: Cancel an ongoing deployment
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)config
Usage: configDescription: Display or edit the configuration of your application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)config get
Usage: get CONFIGURATION-NAMEDescription: Display the current configuration
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)config set
Usage: set CONFIGURATION-NAME CONFIGURATION-VALUEDescription: Edit one configuration setting
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)config update
Usage: updateDescription: Edit multiple configuration settings at once
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--name] Set name
[--description] Set description
[--enable-zero-downtime] Enable zero-downtime (default: false)
[--disable-zero-downtime] Disable zero-downtime (default: false)
[--enable-sticky-sessions] Enable sticky-sessions (default: false)
[--disable-sticky-sessions] Disable sticky-sessions (default: false)
[--enable-cancel-on-push] Enable cancel-on-push (default: false)
[--disable-cancel-on-push] Disable cancel-on-push (default: false)
[--enable-force-https] Enable force-https (default: false)
[--disable-force-https] Disable force-https (default: false)
[--enable-task] Enable task (default: false)
[--disable-task] Disable task (default: false)console
Usage: consoleDescription: Open an application in the Console
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)create
Usage: create --type TYPE [APP-NAME]Description: Create an application
Options:
--type, -t TYPE Instance type
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--alias, -a] ALIAS Short name for the application
[--region, -r] ZONE Region, can be 'par', 'parhds', 'grahds', 'rbx', 'rbxhds', 'scw', 'ldn', 'mtl', 'sgp', 'syd', 'wsw' (default: par)
[--github] OWNER/REPO GitHub application to use for deployments
[--task, -T] COMMAND The application launch as a task executing the given command, then stopped
[--format, -F] FORMAT Output format (human, json) (default: human)curl
Usage: clever curlDescription: Query Clever Cloud’s API using Clever Tools credentials. For example:
database
Usage: databaseDescription: List available databases
database backups
Usage: backups DATABASE-IDDescription: List available database backups
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)database backups download
Usage: download DATABASE-ID BACKUP-IDDescription: Download a database backup
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)
[--output, --out] Redirect the output of the command in a filedelete
Usage: deleteDescription: Delete an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--yes, -y] Skip confirmation and delete the application directly (default: false)deploy
Usage: deployDescription: Deploy an application
Options:
[--alias, -a] ALIAS Short name for the application
[--branch, -b] BRANCH Branch to push (current branch by default) (default: )
[--tag, -t] TAG Tag to push (none by default) (default: )
[--quiet, -q] Don't show logs during deployment (default: false)
[--force, -f] Force deploy even if it's not fast-forwardable (default: false)
[--follow] Continue to follow logs after deployment has ended (default: false)
[--same-commit-policy, -p] POLICY What to do when local and remote commit are identical (error, ignore, restart, rebuild) (default: error)
[--exit-on, -e] STEP Step at which the logs streaming is ended, steps are: deploy-start, deploy-end, never (default: deploy-end)diag
Usage: diagDescription: Diagnose the current installation (prints various informations for support)
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)domain
Usage: domainDescription: Manage domain names for an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)domain add
Usage: add FQDNDescription: Add a domain name to an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)domain favourite
Usage: favouriteDescription: Manage the favourite domain name for an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)domain favourite set
Usage: set FQDNDescription: Set the favourite domain for an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)domain favourite unset
Usage: unsetDescription: Unset the favourite domain for an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)domain rm
Usage: rm FQDNDescription: Remove a domain name from an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)domain diag
Usage: diagDescription: Check if domains associated to a specific app are properly configured
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)
[--filter] TEXT Check only domains containing the provided text (default: )domain overview
Usage: overviewDescription: Get an overview of all your domains (all orgas, all apps)
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)
[--filter] TEXT Get only domains containing the provided text (default: )drain
Usage: drainDescription: Manage drains
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--addon] ADDON_ID Add-on ID
[--format, -F] FORMAT Output format (human, json) (default: human)drain create
Usage: create DRAIN-TYPE DRAIN-URLDescription: Create a drain
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--addon] ADDON_ID Add-on ID
[--username, -u] USERNAME (HTTP drains) basic auth username
[--password, -p] PASSWORD (HTTP drains) basic auth password
[--api-key, -k] API_KEY (NewRelic drains) API key
[--index-prefix, -i] INDEX_PREFIX (ElasticSearch drains) optional index prefix. `logstash` value is used if not set
[--sd-params, -s] SD_PARAMS (TCP and UDP drains) sd-params string (e.g.: `X-OVH-TOKEN=\"REDACTED\"`)drain remove
Usage: remove DRAIN-IDDescription: Remove a drain
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--addon] ADDON_ID Add-on IDdrain enable
Usage: enable DRAIN-IDDescription: Enable a drain
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--addon] ADDON_ID Add-on IDdrain disable
Usage: disable DRAIN-IDDescription: Disable a drain
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--addon] ADDON_ID Add-on IDemails
Usage: emailsDescription: Manage email addresses of the current user
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)emails add
Usage: add EMAILDescription: Add a new secondary email address to the current user
emails primary
Usage: primary EMAILDescription: Set the primary email address of the current user
emails remove
Usage: remove EMAILDescription: Remove a secondary email address from the current user
emails remove-all
Usage: remove-allDescription: Remove all secondary email addresses from the current user
Options:
[--yes, -y] Skip confirmation (default: false)emails open
Usage: openDescription: Open the email addresses management page in the Console
env
Usage: envDescription: Manage environment variables of an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--add-export] Display sourceable env variables setting (default: false)
[--format, -F] FORMAT Output format (human, json, shell) (default: human)env set
Usage: set VARIABLE-NAME VARIABLE-VALUEDescription: Add or update an environment variable named
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--add-export] Display sourceable env variables setting (default: false)env rm
Usage: rm VARIABLE-NAMEDescription: Remove an environment variable from an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--add-export] Display sourceable env variables setting (default: false)env import
Usage: importDescription: Load environment variables from STDIN
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--add-export] Display sourceable env variables setting (default: false)
[--json] Import variables as JSON (an array of { "name": "THE_NAME", "value": "THE_VALUE" } objects) (default: false)env import-vars
Usage: import-vars VARIABLE-NAMESDescription: Add or update environment variables named
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--add-export] Display sourceable env variables setting (default: false)features
Usage: featuresDescription: Manage Clever Tools experimental features
features enable
Usage: enable FEATURESDescription: Enable experimental features
features disable
Usage: disable FEATURESDescription: Disable experimental features
features list
Usage: listDescription: List available experimental features
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)features info
Usage: info FEATUREDescription: Display info about an experimental feature
help
Usage: helpDescription: Display help about the Clever Cloud CLI
keycloak
Usage: keycloakDescription: Manage Clever Cloud Keycloak services [BETA]
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)keycloak get
Usage: get ADDON-IDDescription: Get information about a deployed Keycloak
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)keycloak enable-ng
Usage: enable-ng ADDON-IDDescription: Link Keycloak to a Network Group, used for multi-instances secure communication
keycloak disable-ng
Usage: disable-ng ADDON-IDDescription: Unlink Keycloak from its Network Group
keycloak open
Usage: open ADDON-IDDescription: Open the Keycloak dashboard in Clever Cloud Console
keycloak open logs
Usage: logs ADDON-IDDescription: Open the Keycloak application logs in Clever Cloud Console
keycloak open webui
Usage: webui ADDON-IDDescription: Open the Keycloak admin console in your browser
keycloak restart
Usage: restart ADDON-IDDescription: Restart Keycloak
keycloak rebuild
Usage: rebuild ADDON-IDDescription: Rebuild Keycloak
keycloak version
Usage: version ADDON-IDDescription: Check Keycloak deployed version
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)keycloak version check
Usage: check ADDON-IDDescription: Check Keycloak deployed version
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)keycloak version update
Usage: update ADDON-IDDescription: Update Keycloak deployed version
Options:
[--target] VERSION Target version to upgrade to (e.g.: 24, 2.4, 2.4.1)kv
Usage: kv KV-ID COMMANDDescription: Send a raw command to a Materia KV or Redis® add-on [ALPHA]
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)link
Usage: link APP-IDDescription: Link this repo to an existing application
Options:
[--alias, -a] ALIAS Short name for the application
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)login
Usage: loginDescription: Login to Clever Cloud
Options:
[--token] TOKEN Directly give an existing token
[--secret] SECRET Directly give an existing secretlogout
Usage: logoutDescription: Logout from Clever Cloud
logs
Usage: logsDescription: Fetch application logs, continuously
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--before, --until] BEFORE Fetch logs before this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)
[--after, --since] AFTER Fetch logs after this date/time (ISO8601 date, positive number in seconds or duration, e.g.: 1h)
[--search] SEARCH Fetch logs matching this pattern
[--deployment-id] DEPLOYMENT_ID Fetch logs for a given deployment
[--addon] ADDON_ID Add-on ID
[--format, -F] FORMAT Output format (human, json, json-stream) (default: human)make-default
Usage: make-default APP-ALIASDescription: Make a linked application the default one
matomo
Usage: matomoDescription: Manage Clever Cloud Matomo services [BETA]
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)matomo get
Usage: get ADDON-IDDescription: Get information about a deployed Matomo
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)matomo open
Usage: open ADDON-IDDescription: Open the Matomo dashboard in Clever Cloud Console
matomo open logs
Usage: logs ADDON-IDDescription: Open the Matomo application logs in Clever Cloud Console
matomo open webui
Usage: webui ADDON-IDDescription: Open the Matomo admin console in your browser
matomo restart
Usage: restart ADDON-IDDescription: Restart Matomo
matomo rebuild
Usage: rebuild ADDON-IDDescription: Rebuild Matomo
metabase
Usage: metabaseDescription: Manage Clever Cloud Metabase services [BETA]
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)metabase get
Usage: get ADDON-IDDescription: Get information about a deployed Metabase
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)metabase open
Usage: open ADDON-IDDescription: Open the Metabase dashboard in Clever Cloud Console
metabase open logs
Usage: logs ADDON-IDDescription: Open the Metabase application logs in Clever Cloud Console
metabase open webui
Usage: webui ADDON-IDDescription: Open the Metabase admin console in your browser
metabase restart
Usage: restart ADDON-IDDescription: Restart Metabase
metabase rebuild
Usage: rebuild ADDON-IDDescription: Rebuild Metabase
metabase version
Usage: version ADDON-IDDescription: Manage Metabase deployed version
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)metabase version check
Usage: check ADDON-IDDescription: Check Metabase deployed version
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)metabase version update
Usage: update ADDON-IDDescription: Update Metabase deployed version
Options:
[--target] VERSION Target version to upgrade to (e.g.: 24, 2.4, 2.4.1)ng
Usage: ngDescription: List Network Groups [BETA]
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)ng create
Usage: create NG-LABELDescription: Create a Network Group
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--link] MEMBERS_IDS Comma separated list of members IDs to link to a Network Group ('app_xxx', 'addon_xxx', 'external_xxx')
[--description] DESCRIPTION Network Group description
[--tags] TAGS List of tags, separated by a commang create external
Usage: external EXTERNAL-PEER-LABEL NG-ID-OR-LABEL PUBLIC-KEYDescription: Create an external peer in a Network Group
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)ng delete
Usage: delete NG-ID-OR-LABELDescription: Delete a Network Group
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)ng delete external
Usage: external EXTERNAL-PEER-ID-OR-LABEL NG-ID-OR-LABELDescription: Delete an external peer from a Network Group
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)ng link
Usage: link ID-OR-LABEL NG-ID-OR-LABELDescription: Link an application or a database add-on by its ID to a Network Group
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)ng unlink
Usage: unlink ID-OR-LABEL NG-ID-OR-LABELDescription: Unlink an application or a database add-on by its ID from a Network Group
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)ng get
Usage: get ID-OR-LABELDescription: Get details about a Network Group, a member or a peer
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--type] TYPE Type of resource to look for (NetworkGroup, Member, CleverPeer, ExternalPeer)
[--format, -F] FORMAT Output format (human, json) (default: human)ng get-config
Usage: get-config EXTERNAL-PEER-ID-OR-LABEL NG-ID-OR-LABELDescription: Get the Wireguard configuration of a peer in a Network Group
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)ng search
Usage: search ID-OR-LABELDescription: Search Network Groups, members or peers and get their details
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--type] TYPE Type of resource to look for (NetworkGroup, Member, CleverPeer, ExternalPeer)
[--format, -F] FORMAT Output format (human, json) (default: human)notify-email
Usage: notify-emailDescription: Manage email notifications
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--list-all] List all notifications for your user or for an organisation with the '--org' option (default: false)
[--format, -F] FORMAT Output format (human, json) (default: human)notify-email add
Usage: add --notify <EMAIL_ADDRESS>|<USER_ID>|"ORGANISATION" NAMEDescription: Add a new email notification
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--list-all] List all notifications for your user or for an organisation with the '--org' option (default: false)
[--event] TYPE Restrict notifications to specific event types
[--service] SERVICE_ID Restrict notifications to specific applications and add-ons
--notify <EMAIL_ADDRESS>|<USER_ID>|"ORGANISATION" Notify a user, a specific email address or the whole organisation (multiple values allowed, comma separated)notify-email remove
Usage: remove NOTIFICATION-IDDescription: Remove an existing email notification
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--list-all] List all notifications for your user or for an organisation with the '--org' option (default: false)open
Usage: openDescription: Open an application in the Console
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)otoroshi
Usage: otoroshiDescription: Manage Clever Cloud Otoroshi services [BETA]
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)otoroshi get
Usage: get ADDON-IDDescription: Get information about a deployed Otoroshi
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)otoroshi enable-ng
Usage: enable-ng ADDON-IDDescription: Link Otoroshi to a Network Group
otoroshi disable-ng
Usage: disable-ng ADDON-IDDescription: Unlink Otoroshi from its Network Group
otoroshi open
Usage: open ADDON-IDDescription: Open the Otoroshi dashboard in Clever Cloud Console
otoroshi open logs
Usage: logs ADDON-IDDescription: Open the Otoroshi application logs in Clever Cloud Console
otoroshi open webui
Usage: webui ADDON-IDDescription: Open the Otoroshi admin console in your browser
otoroshi restart
Usage: restart ADDON-IDDescription: Restart Otoroshi
otoroshi rebuild
Usage: rebuild ADDON-IDDescription: Rebuild Otoroshi
otoroshi version
Usage: version ADDON-IDDescription: Manage Otoroshi deployed version
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)otoroshi version check
Usage: check ADDON-IDDescription: Check Otoroshi deployed version
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)otoroshi version update
Usage: update ADDON-IDDescription: Update Otoroshi deployed version
Options:
[--target] VERSION Target version to upgrade to (e.g.: 24, 2.4, 2.4.1)profile
Usage: profileDescription: Display the profile of the current user
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)profile open
Usage: openDescription: Open your profile in the Console
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)published-config
Usage: published-configDescription: Manage the configuration made available to other applications by this application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json, shell) (default: human)published-config set
Usage: set VARIABLE-NAME VARIABLE-VALUEDescription: Add or update a published configuration item named
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)published-config rm
Usage: rm VARIABLE-NAMEDescription: Remove a published configuration variable from an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)published-config import
Usage: importDescription: Load published configuration from STDIN
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--json] Import variables as JSON (an array of { "name": "THE_NAME", "value": "THE_VALUE" } objects) (default: false)restart
Usage: restartDescription: Start or restart an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--commit] COMMIT ID Restart the application with a specific commit ID
[--without-cache] Restart the application without using cache (default: false)
[--quiet, -q] Don't show logs during deployment (default: false)
[--follow] Continue to follow logs after deployment has ended (default: false)
[--exit-on, -e] STEP Step at which the logs streaming is ended, steps are: deploy-start, deploy-end, never (default: deploy-end)scale
Usage: scaleDescription: Change scalability of an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--flavor] FLAVOR The instance size of your application
[--min-flavor] MINFLAVOR The minimum scale size of your application
[--max-flavor] MAXFLAVOR The maximum instance size of your application
[--instances] INSTANCES The number of parallel instances
[--min-instances] MININSTANCES The minimum number of parallel instances
[--max-instances] MAXINSTANCES The maximum number of parallel instances
[--build-flavor] BUILDFLAVOR The size of the build instance, or 'disabled' if you want to disable dedicated build instancesservice
Usage: serviceDescription: Manage service dependencies
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--only-apps] Only show app dependencies (default: false)
[--only-addons] Only show add-on dependencies (default: false)
[--show-all] Show all available add-ons and applications (default: false)
[--format, -F] FORMAT Output format (human, json) (default: human)service link-app
Usage: link-app APP-IDDescription: Add an existing app as a dependency
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--only-apps] Only show app dependencies (default: false)
[--only-addons] Only show add-on dependencies (default: false)
[--show-all] Show all available add-ons and applications (default: false)service unlink-app
Usage: unlink-app APP-IDDescription: Remove an app from the dependencies
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--only-apps] Only show app dependencies (default: false)
[--only-addons] Only show add-on dependencies (default: false)
[--show-all] Show all available add-ons and applications (default: false)service link-addon
Usage: link-addon ADDON-IDDescription: Link an existing add-on to this application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--only-apps] Only show app dependencies (default: false)
[--only-addons] Only show add-on dependencies (default: false)
[--show-all] Show all available add-ons and applications (default: false)service unlink-addon
Usage: unlink-addon ADDON-IDDescription: Unlink an add-on from this application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--only-apps] Only show app dependencies (default: false)
[--only-addons] Only show add-on dependencies (default: false)
[--show-all] Show all available add-ons and applications (default: false)ssh
Usage: sshDescription: Connect to running instances through SSH
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--identity-file, -i] IDENTITY-FILE SSH identity filessh-keys
Usage: ssh-keysDescription: Manage SSH keys of the current user
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)ssh-keys add
Usage: add SSH-KEY-NAME SSH-KEY-PATHDescription: Add a new SSH key to the current user
ssh-keys remove
Usage: remove SSH-KEY-NAMEDescription: Remove a SSH key from the current user
ssh-keys remove-all
Usage: remove-allDescription: Remove all SSH keys from the current user
Options:
[--yes, -y] Skip confirmation and remove all SSH keys directly (default: false)ssh-keys open
Usage: openDescription: Open the SSH keys management page in the Console
status
Usage: statusDescription: See the status of an application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)stop
Usage: stopDescription: Stop a running application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)tcp-redirs
Usage: tcp-redirsDescription: Control the TCP redirections from reverse proxies to your application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)tcp-redirs list-namespaces
Usage: list-namespacesDescription: List the namespaces in which you can create new TCP redirections
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
[--format, -F] FORMAT Output format (human, json) (default: human)tcp-redirs add
Usage: add --namespace NAMESPACEDescription: Add a new TCP redirection to the application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
--namespace NAMESPACE Namespace in which the TCP redirection should be
[--yes, -y] Skip confirmation even if the TCP redirection is not free (default: false)tcp-redirs remove
Usage: remove --namespace NAMESPACE PORTDescription: Remove a TCP redirection from the application
Options:
[--alias, -a] ALIAS Short name for the application
[--app] ID_OR_NAME Application to manage by its ID (or name, if unambiguous)
--namespace NAMESPACE Namespace in which the TCP redirection should betokens
Usage: tokensDescription: Manage API tokens to query Clever Cloud API from https://api-bridge.clever-cloud.com
Options:
[--format, -F] FORMAT Output format (human, json) (default: human)tokens create
Usage: create API-TOKEN-NAMEDescription: Create an API token
Options:
[--expiration, -e] EXPIRATION Duration until API token expiration (e.g.: 1h, 4d, 2w, 6M), default 1y
[--format, -F] FORMAT Output format (human, json) (default: human)tokens revoke
Usage: revoke API-TOKEN-IDDescription: Revoke an API token
unlink
Usage: unlink APP-ALIASDescription: Unlink this repo from an existing application
version
Usage: versionDescription: Display the clever-tools version
webhooks
Usage: webhooksDescription: Manage webhooks
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--list-all] List all notifications for your user or for an organisation with the '--org' option (default: false)
[--format, -F] FORMAT Output format (human, json) (default: human)webhooks add
Usage: add NAME URLDescription: Register webhook to be called when events happen
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--list-all] List all notifications for your user or for an organisation with the '--org' option (default: false)
[--format] FORMAT Format of the body sent to the webhook ('raw', 'slack', 'gitter', or 'flowdock') (default: raw)
[--event] TYPE Restrict notifications to specific event types
[--service] SERVICE_ID Restrict notifications to specific applications and add-onswebhooks remove
Usage: remove NOTIFICATION-IDDescription: Remove an existing webhook
Options:
[--org, -o, --owner] ID_OR_NAME Organisation to target by its ID (or name, if unambiguous)
[--list-all] List all notifications for your user or for an organisation with the '--org' option (default: false)Clever Cloud complete documentation
For more comprehensive information about Clever Cloud, read the complete documentation: https://www.clever-cloud.com/developers/doc/ Clever Cloud complete documentation is available in a LLM-optimized format: https://www.clever-cloud.com/developers/llms.txt
Did this documentation help you ?