npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

clever-tools

v4.4.1

Published

Command Line Interface for Clever Cloud.

Readme

Clever Tools

npm version Node.js requirement

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+

# Install globally
npm install -g clever-tools

# Or use directly without installation
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:

# 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

Documentation

Basic Usage

Authentication

# 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

Application Management

# 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.

Add-ons & Services Management

# 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.

Create and manage

API Access with clever curl and clever tokens

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.

Get Help

clever help                    # List all commands
clever <command> --help        # Get specific help
clever --format json <command> # JSON output for scripting

Support & Contributing

License

This project is licensed under the Apache-2.0.