
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@runloop/rl-cli
Advanced tools
A beautiful, interactive CLI for managing Runloop devboxes built with Ink and TypeScript.
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
Configure your API key using either method:
export RUNLOOP_API_KEY=your_api_key_here
rli auth
Get your API key from https://runloop.ai/settings
# 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.
The CLI supports both light and dark terminal themes with automatic detection:
# Interactive theme selector with live preview
rli config theme
# Or set theme directly
rli config theme auto # Auto-detect terminal background (default)
rli config theme light # Force light mode (dark text on light background)
rli config theme dark # Force dark mode (light text on dark background)
# Or use environment variable
export RUNLOOP_THEME=light
Interactive Mode:
rli config theme without arguments, you get an interactive selectorHow it works:
Terminal Compatibility:
Note on Auto-Detection:
Auto theme detection is disabled by default to prevent screen flashing
To enable it, set RUNLOOP_ENABLE_THEME_DETECTION=1
If you use a light terminal, we recommend setting: rli config theme light
The result is cached, so subsequent runs are instant (no flashing!)
If you change your terminal theme, you can re-detect by running:
rli config theme auto
To manually set your theme without detection:
export RUNLOOP_THEME=dark # or light
# Or disable auto-detection entirely:
export RUNLOOP_DISABLE_THEME_DETECTION=1
# 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
# 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
# List blueprints
rli blueprint list # List blueprints (coming soon)
rli bp list # Short alias
The CLI is organized into command buckets:
devbox (alias: d) - Manage devboxes
create - Create new devboxeslist - List devboxes with paginationexec - Execute commandsupload - Upload filesdelete (alias: rm) - Shutdown devboxessnapshot (alias: snap) - Manage snapshots
create - Create snapshotslist - List snapshots with paginationdelete (alias: rm) - Delete snapshotsblueprint (alias: bp) - Manage blueprints
list - List blueprints (coming soon)mcp - Model Context Protocol server for AI integration
install - Install MCP configuration in Claude Desktopstart - Start the MCP server (stdio or HTTP mode)Runloop includes a Model Context Protocol (MCP) server that allows AI assistants like Claude to interact with your devboxes.
# Install MCP configuration
rli mcp install
# Restart Claude Desktop, then ask Claude:
# "List my devboxes" or "Create a new devbox"
# 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:
n - Next pagep - Previous pageq - Quit# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Run CLI
npm start -- <command>
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.
MIT
FAQs
Beautiful CLI for the Runloop platform
The npm package @runloop/rl-cli receives a total of 266 weekly downloads. As such, @runloop/rl-cli popularity was classified as not popular.
We found that @runloop/rl-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.