New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

replicas-cli

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replicas-cli

CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding

latest
Source
npmnpm
Version
0.2.42
Version published
Weekly downloads
140
-38.33%
Maintainers
1
Weekly downloads
 
Created
Source

Replicas CLI

Official CLI for Replicas - manage cloud development workspaces with automatic SSH tunneling and an interactive terminal dashboard.

Installation

curl -fsSL https://replicas.dev/install.sh | bash

Or if you already have Bun installed:

bun install -g replicas-cli

Quick Start

# Login to your Replicas account
replicas login

# Connect to a workspace
replicas connect my-workspace

# Launch the interactive terminal dashboard
replicas interactive

Commands

replicas login

Authenticate with your Replicas account via browser-based OAuth.

replicas logout

Clear stored credentials.

replicas whoami

Display current authenticated user.

replicas org

Display current organization.

replicas org switch

Switch between organizations.

replicas connect <workspace-name>

Connect to a workspace via SSH.

replicas interactive

Launch the interactive terminal dashboard — a full TUI alternative to the web dashboard. View workspaces, chat with agents, monitor environment status, and create workspaces without leaving the terminal.

Configuration

Create a replicas.json or replicas.yaml file in your repository root:

{
  "systemPrompt": "Custom instructions for coding agents.",
  "startHook": {
    "commands": ["npm install", "npm run build"]
  }
}

Or use YAML for better readability (especially for multiline system prompts):

systemPrompt: |
  Custom instructions for coding agents.
  Supports multiline text.

startHook:
  commands:
    - npm install
    - npm run build

Features

  • Secure Authentication: OAuth-based login with token refresh
  • Quick SSH Access: Connect to workspaces with a single command
  • SSH Key Caching: Reuse SSH keys across sessions
  • Multi-Organization: Switch between different organizations

How it Works

  • SSH Key Management: The CLI securely caches SSH keys in ~/.replicas/keys/

Requirements

  • Node.js 18+
  • SSH client (openssh)

Support

For issues or questions, visit https://replicas.dev

License

MIT

Keywords

cli

FAQs

Package last updated on 03 Apr 2026

Did you know?

Socket

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.

Install

Related posts