viam-server Installation Guide

To use Viam, you need to install either the viam-server binary or viam-micro-server.

viam-server is the binary built from the Robot Development Kit that contains and manages communications between all Viam’s built-in hardware drivers (components) and software services, connects your machine to the cloud, manages machine configuration, and manages dependencies including modules.

viam-micro-server is a lightweight version of viam-server which can run on resource-limited embedded systems that cannot run the fully-featured viam-server. To install viam-micro-server, see viam-micro-server Installation Guide instead.

Platform requirements

viam-server can run on any computer that runs a supported operating system:

  • Linux 64-bit operating systems running on the aarch64 or x86_64 architectures
  • Windows Subsystem for Linux (WSL)
  • macOS

Operating System installation

viam-server can run on any computer that runs on a supported platform, including single-board computers (SBCs) running 64-bit Linux.

For convenience, we provide operating system installation instructions for some popular SBCs. If you want to use an SBC or other computer which already has a supported operating system installed, proceed to install viam-server.

Install viam-server

If you have a compatible operating system, follow along with the steps outlined below to install viam-server:

  1. Go to the Viam app. Create an account if you haven’t already.

  2. Add a new machine by providing a name in the New machine field and clicking Add machine:

    The ‘First Location’ page on the Viam app with a new machine name in the New machine field and the Add machine button next to the field highlighted.

  3. Navigate to the CONFIGURE tab and find your machine’s card. An alert will be present directing you to Set up your machine part:

    Machine setup alert in a newly created machine

    Click View setup instructions to open the setup instructions.

  4. Select the platform you want to run on.

  5. If you selected Linux / Aarch 64 or Linux / x86 also select your installation method:

    • viam-agent (recommended): installs viam-agent, which will automatically install (and update) viam-server and provide additional functionality such as provisioning and operating system update configuration.
    • manual: installs only viam-server on your machine.
  6. Follow the steps shown on the setup page.

  7. Once you have followed the steps on the setup instructions, wait for confirmation that your machine has successfully connected.

    On your machine’s page on the Viam app, your machine will show that it’s Live.

Manage your installation

To learn how to run, update, or uninstall viam-agent, see Manage viam-agent.

For manual installs of only viam-server, see Manage viam-server.

Next steps