SXAccessSXAccessDocs
Open dashboard

Which client do I need?

Two clients join the same network: the app, with a window to sign in, and the CLI, for machines nobody sits at.

SXAccess has two clients. The app is for a machine someone works at: a Mac, a Windows PC, an iPhone or an Android phone. You install it from the store or as a download, sign in with your account and press Connect. The CLI is for a machine nobody sits at: a Linux server, a container, a CI runner, a router, or a Mac that runs builds. It enrols with an enrollment key, runs as a system service and never needs a screen.

The app and the CLI are separate clients that join the same network. Either one enrols its machine as a device in your organization, and the same access rules decide what that device can reach. Choose by how the machine is used, not by what the other machines run.

Pick your platform

What runs where

The app comes from each platform's store, and for a Mac or a Windows PC also as a download. The CLI comes from one install script on Linux and macOS, curl -fsSL https://pkgs.sxaccess.com/install.sh | sh, and from a zip file on Windows, see The CLI on Windows below. The script needs root rights, so it runs as root or through sudo or doas, and it does not support NixOS.

PlatformClientRuns onGet it from
LinuxCLIamd64, arm64, 386 and 32-bit ARM (armv6 and armv7)The install script
macOSAppmacOS 14 or later; the download runs on Apple silicon and IntelThe Mac App Store, or the installer package at pkgs.sxaccess.com/macos/desktop/arm64 (Apple silicon) or pkgs.sxaccess.com/macos/desktop/amd64 (Intel)
macOSCLIApple silicon and Intel (arm64, amd64)The install script
WindowsAppx64Add device in the dashboard, or pkgs.sxaccess.com/windows/x64
WindowsCLIx64 and Arm (amd64, arm64)Add device in the dashboard, or pkgs.sxaccess.com/windows/cli/amd64 (x64) or pkgs.sxaccess.com/windows/cli/arm64 (Arm)
iOSAppiPhone, iOS 17 or laterThe App Store
AndroidAppAndroid 8.0 or laterGoogle Play

The CLI on Windows

  1. 1

    Download the command line client

    Most PCs have an Intel or AMD processor and take the x64 download; for a PC with an Arm processor, take the Arm download. Both are also under Add device in the dashboard. The CLI and the Windows app cannot be installed on the same PC, so choose one.

  2. 2

    Extract it into Program Files

    Right-click the downloaded .zip file, choose Extract All, and extract it to C:\Program Files\SXAccess CLI. Windows asks for administrator permission.

  3. 3

    Register the background service

    Open Command Prompt as administrator and run these lines. If the SXAccess desktop app is installed, remove it first.

    shell
    cd /d "%ProgramFiles%\SXAccess CLI"sxaccess agent installsxaccess agent start
  4. 4

    Start the client and sign in

    Run it in the same Command Prompt. Your browser opens so you can sign in, and the device joins your network when you finish. A machine nobody signs in at, such as a server, starts with an enrollment key instead: get a key under Access → Enrollment keys and put it in place of ENROLLMENT_KEY in sxaccess start --enrollment-key ENROLLMENT_KEY.

    shell
    sxaccess start
  5. 5

    Check the connection

    It shows whether this device is connected and which networks it can reach.

    shell
    sxaccess info

Check that it worked

With the app, look in two places. The app reads Connected once you have pressed Connect, and the dashboard lists the device under Devices within seconds of your signing in.

With the CLI, sxaccess version prints the installed version and sxaccess info tells you where the device stands. Its first line is Connected when the device reaches both the control plane and Discovery, the service through which two devices agree on a path; their rows are Service and Discovery. It reads Partly connected when only one of them answers, and Not connected when neither does.

If sxaccess info answers cannot reach the SXAccess agent, the background service is not running. The message names the fix: sudo sxaccess agent install registers the service if it was never registered, and sudo sxaccess agent start starts it. If it answers This device is not signed in, run sxaccess start. Anything else is in Troubleshooting the client.