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 | iexHow do I verify the installation?
# Check the installed Cmdop version
cmdop --versionHow do I log in?
Authenticate with your Cmdop account:
# Authenticate via browser-based OAuth
cmdop loginThis 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 connectHow do I update the CLI?
# Restart the agent (triggers auto-update)
cmdop agent restartThe 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.exeWhat should I do next?
Last updated on