← Back to Support Overview

NETVARA KNOWLEDGE BASE

How to install the Netvara Client on Linux

How to install the Netvara Client on Linux

Overview

The Netvara Client runs as a per-user Linux service and exposes a local gateway for applications on the same machine. This guide covers installation, headless pairing over SSH, and service verification.

Prerequisites

  • A supported Linux distribution, such as Ubuntu/Debian, Fedora, or Arch
  • Python 3.10 or newer
  • curl
  • systemd with user-service support
  • A local supported AI backend
  • Browser access to the Netvara console; the browser can be on another computer when pairing over SSH

Step-by-Step Instructions

1. Open a terminal or connect to the Linux machine over SSH.
2. Install the client:

   curl -fsSL https://console.netvara.ai/install.sh | sh

3. Start the setup wizard:

   python3 ~/.netvara-client/netvara_client.py setup

4. When the wizard displays the 8-character pairing code, copy it.
5. On a computer with a browser, open:

   https://console.netvara.ai/pair

6. Enter the pairing code and approve the device. Return to the terminal and allow setup to complete.
7. Make sure the user service is running:

   systemctl --user status netvara-client.service

8. If the service must continue running after logout or reboot, enable user lingering:

   loginctl enable-linger "$USER"

Verification

Query the local gateway with the local authentication token:

curl -H "Authorization: Bearer $(cat ~/.netvara-client/local_api_key)" \
  http://127.0.0.1:8091/v1/models

The response should list the models available through the configured backend.

Troubleshooting & Common Questions

The systemctl --user command cannot connect to the service manager. Confirm that you are using the same user that ran setup and that a user systemd session is available. Enable lingering with loginctl enable-linger "$USER", then restart the service.

I am pairing over SSH. Do I need a graphical session on the Linux machine? No. Run setup over SSH, copy the code, and approve it from any browser at the pairing page.

The service stops after logout. Enable lingering for your account and check the service again with systemctl --user status netvara-client.service.

The model list is empty. Start the local backend, confirm that models are installed, and rerun setup.

Which address should local applications use? Use http://127.0.0.1:8091/v1 and authenticate with the token stored at ~/.netvara-client/local_api_key.

← Back to Support Overview