Skip to content
Back to Optanik Tutorials

Guides

How to install the Optanik agent on Windows, macOS and Linux

Add computers to Optanik with the one-line install command, keep agents updated automatically, and remove them cleanly.

Every computer you manage in Optanik runs a small agent. You install it once per machine with a single command that already contains your workspace code, and the computer appears in Endpoints within about a minute.

Find the Optanik install command

In Optanik, open Add New and choose Agent Install, or go to Settings → Agent Install. Pick the operating system: Windows, Linux or macOS. Your workspace code is already built into the command, so there's nothing to edit.

Add New · watch from 3:08 in the full Optanik tutorial

Install the Optanik agent

  1. Copy the command for the computer's operating system.
  2. On the computer, open a terminal as an administrator. On Windows, that's PowerShell run as administrator. On macOS and Linux, use a terminal with sudo.
  3. Paste the command and run it.

The installer signs in with your workspace code, downloads the latest agent and its own private runtime, sets up the background service and the tray icon, and installs remote desktop. There's nothing else to configure on the computer.

Check that the computer appeared in Optanik

Open Endpoints or Workspaces. The new computer shows up within about a minute. Three green health tags mean it's online, connected to the Optanik network, and its command tunnel is up, so it's ready for remote control and actions.

On Windows the agent runs as a service that starts before anyone signs in, so you can reach the sign-in screen after a reboot.

Keep Optanik agents up to date

Leave Auto-update agents turned on and every agent updates itself when a new version is released, on Windows, Linux and macOS. On the Workspaces page, Update all brings every agent to the latest version in one click, and each computer's row has its own update action.

Remove the Optanik agent

The same Agent Install page has an uninstall command for each operating system. Run it as an administrator on the computer to remove the agent cleanly, then remove the computer from Endpoints.

What the Optanik agent costs

The first computer is free, with twelve hours of remote use a day. After that, each paid endpoint is $2.00 a month. Technicians who manage the computers are never billed.

More: How to automate fixes with Optanik automations and playbooks · How to build your Optanik Support public page and knowledge base · How to check fleet security and send reports with Optanik · How to connect scripts and AI to Optanik with the REST API, MCP and webhooks · How to deploy printers, mapped drives and settings with Optanik · How to deploy software with Optanik · How to manage files on remote computers with Optanik · How to patch Windows, macOS and Linux with Optanik · How to remote control a computer with Optanik · How to run meetings in OptaMeet: schedule, rooms, recording and OptAi transcripts · How to set up Optanik Domain, Optanik DNS and Domain Users · How to set up Optanik Support and work tickets · How to set up the Optanik Network, LAN Sharing and device isolation · How to use Optanik Keyring: vaults, records, import and browser extensions