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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ninedeploy

v0.3.4

Published

Interactive CLI for NineDeploy self-hosted PaaS

Readme

🚀 NineDeploy CLI (ninedeploy)

Interactive Command Line Interface for NineDeploy — Self-hosted PaaS & Deployment Platform.

npm version License: MIT

NineDeploy CLI allows you to deploy applications, manage databases, stream build/runtime logs, monitor infrastructure health, and configure ingress directly from your terminal.


⚡ How It Works

NineDeploy is composed of two main parts:

  1. NineDeploy Server (Core PaaS Engine): Runs on your server/VPS (via Docker or Linux systemd). It manages Docker containers, Traefik reverse proxy, databases, SSL certificates, and deployments.
  2. NineDeploy CLI (ninedeploy): The client tool you install on your machine to interact with your NineDeploy server.
┌────────────────────────────────────────────────────────┐
│  NineDeploy Server (Runs on VPS / Docker)              │
│  - Docker / Traefik / SQLite / Blue-Green Engine       │
│  - Port 3000 (API & Dashboard)                         │
└──────────────────────────┬─────────────────────────────┘
                           │ HTTP / WebSocket API
┌──────────────────────────▼─────────────────────────────┐
│  NineDeploy CLI (npm install -g ninedeploy)            │
│  - Terminal commands on your local machine             │
│  - Communicates with the server URL                    │
└────────────────────────────────────────────────────────┘

📦 Quick Start Guide

Step 1: Start Your NineDeploy Server

Before using the CLI, ensure you have a NineDeploy server running:

  • With Docker (Quickest):

    docker run -d --name ninedeploy \
      -v /var/run/docker.sock:/var/run/docker.sock \
      -v ninedeploy-data:/data \
      -p 3000:3000 \
      -e NINEDEPLOY_JWT_SECRET=$(openssl rand -hex 32) \
      ghcr.io/ninedeploy/ninedeploy:latest
  • On Bare-Metal Linux VPS:

    curl -fsSL https://raw.githubusercontent.com/NineDeploy/NineDeploy/main/install.sh | bash

Step 2: Install the CLI

Install ninedeploy globally via npm, pnpm, or bun:

npm install -g ninedeploy

Step 3: Initial Setup & Login

If you just started, create your administrator account:

ninedeploy setup

💡 Automatic Docker Bootstrapping: If you don't have a NineDeploy server running yet, ninedeploy setup will automatically detect Docker and offer to start a local server container for you!

Or connect to an existing remote server:

# Point to your server URL (if not localhost:3000)
ninedeploy config --server https://panel.yourdomain.com

# Log in
ninedeploy login

Verify your authentication:

ninedeploy whoami

🛠️ CLI Commands Overview

🖥️ Local Server Management (Docker)

ninedeploy server start               # Start local NineDeploy server container
ninedeploy server stop                # Stop local server container
ninedeploy server status              # Check local container and HTTP API health
ninedeploy server logs                # Stream local server container logs

🚀 Applications & Services

ninedeploy services list               # List all running services
ninedeploy services create             # Interactive wizard (Git repo or Docker image)
ninedeploy services get <id>           # Detailed service inspection
ninedeploy services deploy <id>        # Trigger a blue-green zero-downtime deployment
ninedeploy services logs <id>          # Stream runtime container logs
ninedeploy services compose <id>       # View generated Docker Compose YAML
ninedeploy services stop <id>          # Stop a service
ninedeploy services start <id>         # Start a stopped service
ninedeploy services restart <id>       # Restart a service
ninedeploy services delete <id>        # Delete a service

🗄️ Managed Databases

ninedeploy databases list              # List all managed databases
ninedeploy databases create            # Provision Postgres, MySQL, Redis, MongoDB, or ClickHouse
ninedeploy backups list [dbId]         # List database backup snapshots
ninedeploy backups create <dbId>       # Trigger an immediate backup snapshot
ninedeploy backups restore <dbId> <id> # Restore from a backup snapshot

📦 1-Click Templates

ninedeploy templates list              # Browse verified application templates
ninedeploy templates deploy <id>       # Deploy WordPress, Next.js, Ghost, Strapi, etc.

🔑 Environment Variables & Secrets

ninedeploy env list <serviceId>                    # List environment variables
ninedeploy env set <serviceId> KEY VALUE           # Set encrypted secret
ninedeploy env set <serviceId> KEY VALUE --public  # Set public env variable
ninedeploy env rm <serviceId> KEY                  # Remove variable

🌐 Domains & Routing

ninedeploy domains list                            # List configured routing rules
ninedeploy domains add <serviceId> app.domain.com  # Route domain with automatic Let's Encrypt SSL
ninedeploy domains rm <serviceId> <domainId>       # Remove domain rule

📊 System Health, Diagnostics & Monitoring

ninedeploy doctor                      # Run full diagnostics (Node, Docker, Server, Auth)
ninedeploy system info                 # Display system version, tech stack & telemetry
ninedeploy system dashboard            # Interactive live terminal dashboard
ninedeploy system update-check         # Check for newer releases
ninedeploy system prune                # Housekeeping prune (dangling containers & cache)

📄 License

MIT © NineDeploy