
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
clever-tools
Advanced 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.
Prerequisites: Node.js 22+
# Install globally
npm install -g clever-tools
# Or use directly without installation
npx --yes clever-tools@latest version
First steps:
clever login
clever profile
For Node.js users, npm is the fastest way. For other installation methods including:
See our complete setup guide.
Enable smart autocompletion for bash or zsh:
# Bash
clever --bash-autocomplete-script $(which clever) | sudo tee /usr/share/bash-completion/completions/clever
# Zsh
clever --zsh-autocomplete-script $(which clever) | sudo tee /usr/share/zsh/site-functions/_clever
# Interactive login
clever login
# Non-interactive login
clever login --token <your-token> --secret <your-secret>
# Or use environment variables, idéal for CI/CD
export CLEVER_TOKEN="your-token"
export CLEVER_SECRET="your-secret"
clever profile
# List applications
clever applications list
# Create a new Node.js/Bun application
clever applications create --type node
# Link existing app to the current directory
clever link <app_id>
# Deploy current directory
clever deploy
# Monitor logs
clever logs --since 1h
# Restart an application
clever restart --app <app_id>
Learn more in our Application Management Guide.
# List add-ons
clever addon
# Create a PostgreSQL add-on
clever addon create postgresql-addon myPG
# Create a Cellar (S3-compatible storage) add-on
clever addon create cellar-addon myCellar
# Create and manage a Keycloak service
clever addon create keycloak myKeycloak
clever features enable operatos
clever keycloak get myKetcloak
Learn more in our Add-ons & Services Guide.
Access Clever Cloud's API directly through authenticated commands:
# Get your user information
clever curl https://api.clever-cloud.com/v2/self
# Get platform summary
clever curl https://api.clever-cloud.com/v2/summary
# List your applications (with jq for filtering)
clever curl https://api.clever.cloud/v2/organisations/<ORG_ID>/applications | jq '.[].id'
# Create API tokens for external tools
clever tokens create myTokenName
clever tokens create myTokenName --expiration 2w --format json
Learn more about API integration in our API How-to Guide.
clever help # List all commands
clever <command> --help # Get specific help
clever --format json <command> # JSON output for scripting
This project is licensed under the Apache-2.0.
FAQs
Command Line Interface for Clever Cloud.
The npm package clever-tools receives a total of 1,455 weekly downloads. As such, clever-tools popularity was classified as popular.
We found that clever-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.