Documentation
Agent Installation
The CS Command agent is a lightweight service built in Go that runs as a system service on Windows, Linux and macOS. It collects metrics, executes scripts and enables remote access.
Windows
Silent installation (PowerShell as Administrator)
# Download and install the agent
Invoke-WebRequest -Uri "https://cs-command.com/agent/install.ps1" -OutFile install.ps1
powershell -ExecutionPolicy Bypass -File install.ps1 -OrgKey "YOUR_ORG_KEY"
# Check service status
Get-Service -Name "CSCommandAgent"Linux
Automatic installation (Debian/Ubuntu/RHEL)
# Universal install script
curl -sSL https://cs-command.com/install.sh | sudo bash -s -- --key YOUR_ORG_KEY
# Check status
sudo systemctl status cs-agentManual installation
# Download binary for Linux x64
wget https://releases.cs-command.com/latest/linux/amd64/cs-agent
chmod +x cs-agent
sudo mv cs-agent /usr/local/bin/
# Register with your MSP
sudo cs-agent register --org-key YOUR_ORG_KEY
# Install as a service
sudo cs-agent install-servicemacOS
# Install via script
curl -sSL https://cs-command.com/install-mac.sh | bash -s -- --key YOUR_ORG_KEY
# Or with Homebrew (coming soon)
# brew install cs-command-agentObtaining the Org Key
The Org Key is available in the CS Command panel under Organizations → Select Organization → Agent Key. Each organization has its own key for agent identification.
Post-installation verification
After installation, the device will appear automatically in the Devices panel within 60 seconds (first heartbeat). Check that the status shows as Online.