Manage viam-agent

viam-agent is installed as a systemd service named viam-agent.

  • To start viam-agent:

    sudo systemctl start viam-agent
    
  • To stop viam-agent:

    sudo systemctl stop viam-agent
    
  • To restart viam-agent:

    sudo systemctl restart viam-agent
    
  • To completely uninstall viam-agent and viam-server, run the following command:

    sudo /bin/sh -c "$(curl -fsSL https://storage.googleapis.com/packages.viam.com/apps/viam-agent/uninstall.sh)"
    

    This command uninstalls viam-agent, viam-server, the machine configuration file (/etc/viam.json), and the provisioning configuration file (/etc/viam-provisioning.json).

Troubleshooting

You can find assistance in the Troubleshooting section.