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

@runloop/rl-cli

v0.1.2

Published

Beautiful CLI for Runloop devbox management

Readme

Runloop CLI

A beautiful, interactive CLI for managing Runloop devboxes built with Ink and TypeScript.

Features

  • 🎨 Beautiful terminal UI with colors and gradients
  • ⚡ Fast and responsive with pagination
  • 🔐 Secure API key management
  • 📦 Manage devboxes, snapshots, and blueprints
  • 🚀 Execute commands in devboxes
  • 📤 Upload files to devboxes
  • 🎯 Organized command structure with aliases
  • 🤖 Model Context Protocol (MCP) server for AI integration

Installation

Install globally via npm:

npm install -g @runloop/rl-cli

Or install from source:

git clone https://github.com/runloop/rl-cli-node.git
cd rl-cli-node
npm install
npm run build
npm link

Setup

Configure your API key using either method:

Option 1: Environment Variable (Recommended for CI/CD)

export RUNLOOP_API_KEY=your_api_key_here

Option 2: Interactive Setup

rli auth

Get your API key from https://runloop.ai/settings

Usage

Authentication

# Interactive setup (stores API key locally)
rli auth

# Or use environment variable
export RUNLOOP_API_KEY=your_api_key_here

The CLI will automatically use RUNLOOP_API_KEY if set, otherwise it will use the stored configuration.

Devbox Commands

# Create devboxes
rli devbox create                           # Create with auto-generated name
rli devbox create --name my-devbox          # Create with custom name
rli devbox create --template nodejs         # Create from template
rli d create -n my-devbox                   # Short alias

# List devboxes (paginated)
rli devbox list                             # List all devboxes
rli devbox list --status running            # Filter by status
rli d list                                  # Short alias

# Execute commands
rli devbox exec <devbox-id> echo "Hello"    # Run a command
rli devbox exec <devbox-id> ls -la          # List files
rli d exec <id> <command>                   # Short alias

# Upload files
rli devbox upload <devbox-id> ./file.txt    # Upload to home
rli devbox upload <id> ./file.txt -p /path  # Upload to specific path
rli d upload <id> <file>                    # Short alias

# Delete devboxes
rli devbox delete <devbox-id>               # Shutdown a devbox
rli devbox rm <devbox-id>                   # Alias
rli d delete <id>                           # Short alias

Snapshot Commands

# Create snapshots
rli snapshot create <devbox-id>             # Create snapshot
rli snapshot create <id> --name backup-1    # Create with name
rli snap create <id>                        # Short alias

# List snapshots (paginated)
rli snapshot list                           # List all snapshots
rli snapshot list --devbox <id>             # Filter by devbox
rli snap list                               # Short alias

# Delete snapshots
rli snapshot delete <snapshot-id>           # Delete snapshot
rli snapshot rm <snapshot-id>               # Alias
rli snap delete <id>                        # Short alias

Blueprint Commands

# List blueprints
rli blueprint list                          # List blueprints (coming soon)
rli bp list                                 # Short alias

Command Structure

The CLI is organized into command buckets:

  • devbox (alias: d) - Manage devboxes

    • create - Create new devboxes
    • list - List devboxes with pagination
    • exec - Execute commands
    • upload - Upload files
    • delete (alias: rm) - Shutdown devboxes
  • snapshot (alias: snap) - Manage snapshots

    • create - Create snapshots
    • list - List snapshots with pagination
    • delete (alias: rm) - Delete snapshots
  • blueprint (alias: bp) - Manage blueprints

    • list - List blueprints (coming soon)
  • mcp - Model Context Protocol server for AI integration

    • install - Install MCP configuration in Claude Desktop
    • start - Start the MCP server (stdio or HTTP mode)

MCP Server (AI Integration)

Runloop includes a Model Context Protocol (MCP) server that allows AI assistants like Claude to interact with your devboxes.

Quick Setup for Claude Desktop

# Install MCP configuration
rli mcp install

# Restart Claude Desktop, then ask Claude:
# "List my devboxes" or "Create a new devbox"

Starting the Server

# Stdio mode (for Claude Desktop)
rli mcp start

# HTTP mode (for web/remote access)
rli mcp start --http
rli mcp start --http --port 8080

Documentation:

Interactive Features

  • Pagination - Lists show 10 items per page with keyboard navigation
    • n - Next page
    • p - Previous page
    • q - Quit
  • Beautiful UI - Gradient text, colored borders, Unicode icons
  • Real-time Status - Spinners and progress indicators
  • Summary Stats - Count running, stopped, and total resources

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

# Run CLI
npm start -- <command>

Tech Stack

Publishing

To publish a new version to npm:

npm run build
npm publish

Note: Make sure you're logged in to npm with access to the @runloop organization.

License

MIT