Skip to Content

CLI Installation

TL;DR

Install the Cmdop CLI with a single command: curl -sSL cmdop.com/install.sh | bash on macOS/Linux or iwr -useb cmdop.com/install.ps1 | iex on Windows. After installation, authenticate with cmdop login (opens browser-based OAuth), then run cmdop connect to make your machine remotely accessible. The agent auto-updates in the background.

The Cmdop CLI is the primary way to connect your machines.

How do I install the CLI?

# Download and run the Cmdop installer script curl -sSL cmdop.com/install.sh | bash
# Download and run the Cmdop installer via PowerShell iwr -useb cmdop.com/install.ps1 | iex

How do I verify the installation?

# Check the installed Cmdop version cmdop --version

How do I log in?

Authenticate with your Cmdop account:

# Authenticate via browser-based OAuth cmdop login

This opens a browser for OAuth authentication.

How do I connect my machine?

Start the agent to make this machine accessible:

# Start the agent to make this machine remotely accessible cmdop connect

How do I update the CLI?

# Restart the agent (triggers auto-update) cmdop agent restart

The agent auto-updates in the background.

How do I uninstall the CLI?

# Remove Cmdop config directory and binary rm -rf ~/.cmdop rm /usr/local/bin/cmdop
# Remove Cmdop config directory and executable Remove-Item -Recurse $env:APPDATA\cmdop Remove-Item $env:LOCALAPPDATA\cmdop\cmdop.exe

What should I do next?

Last updated on