Getting Started

This guide will help you get started with BeamCLI for secure terminal sharing.

Option 1: Web Client (No Installation)

The fastest way to join a terminal sharing session.

Joining a Session

  1. Open beamcli.com/app in your browser
  2. Enter the 5-character session code
  3. Click “Join”
  4. Watch the shared terminal in real-time

You can also join directly with a URL:

https://beamcli.com/app?code=XXXXX

Option 2: VS Code Extension

Share your terminal directly from VS Code, Cursor, or Antigravity.

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for “BeamCLI”
  4. Click Install

Marketplace listing is in progress. Use the VSIX install method in the VS Code Extension guide if needed.

Sharing Your Terminal

  1. Open the BeamCLI Terminal panel (View → BeamCLI Terminal)
  2. Use the terminal normally
  3. Click the “BeamCLI” button when ready to share
  4. Sign in to your account
  5. Choose permission level:
    • Read-only (recommended): Viewers can only watch
    • Interactive: Viewers can type commands
  6. Share the displayed session code

Features

  • Works as a normal terminal without network
  • Local-first: No data sent until you click “BeamCLI”
  • Session codes auto-expire for security

Option 3: Command Line Interface

Install the CLI for terminal-based sharing.

Installation

From npm (when published):

npm install -g @beam/cli

From source:

git clone https://github.com/wu-hongjun/beam-cli.git
cd beam-cli
npm install --legacy-peer-deps
npm run build:all

# Run CLI
./dist/apps/beam-cli/bin/run share
./dist/apps/beam-cli/bin/run connect <code>

Hosting a Session

# Start sharing (read-only)
beam share

# Start with interactive mode
beam share --permission write

# Start with Ultra Safe Mode (requires passkey)
beam share --ultra-safe

Joining a Session

beam connect XXXXX

Replace XXXXX with the session code.


Account & Authentication

Creating an Account

  1. Visit accounts.riverps.com
  2. Sign up with email or OAuth provider
  3. Verify your email

Login Methods

  • Email/Password: Traditional authentication
  • Google OAuth: Sign in with Google
  • Passkey/WebAuthn: Use a hardware security key

Session Management

View and manage your active sessions in your account dashboard.


Permission Levels

When sharing, choose the appropriate permission level:

Permission Description Use Case
Read-only Viewers can only watch Demonstrations, teaching
Interactive Viewers can type commands Pair programming, collaboration

Security Note: Only enable interactive mode with trusted collaborators.


Ultra Safe Mode

For maximum security, use Ultra Safe Mode with a hardware security key.

Requirements

  • Physical security key (YubiKey, etc.)
  • Key must support WebAuthn PRF extension

How It Works

  1. Host starts session with --ultra-safe flag
  2. Host authenticates with their passkey
  3. Viewers must authenticate with the same physical key
  4. Encryption uses PRF-derived secret + ECDH

Benefits

  • Same passkey required for host AND viewers
  • Even with the session code, attackers cannot decrypt without the key
  • Zero-knowledge: Server cannot decrypt data

Troubleshooting

Cannot Connect to Session

  • Verify the session code is correct (case-insensitive)
  • Check if the session has expired
  • Ensure you have network connectivity

Terminal Not Displaying

  • Refresh the page
  • Check browser console for errors
  • Try a different browser (Chrome, Firefox, Safari)

VS Code Extension Issues

  1. Ensure the extension is up to date
  2. Restart VS Code
  3. Check the Output panel for errors

Next Steps


Back to top

BeamCLI - Share your terminal sessions securely

This site uses Just the Docs, a documentation theme for Jekyll.