Skip to main content
Documentation
Older version
You're viewing the 0.5 docs. The current release may have updates.

Nexigon CLI

Nexigon CLI is a command line tool to interact with Nexigon Hub and access devices remotely.

Installation and Setup

For older builds and checksums, see the Nexigon CLI releases.

Download Nexigon CLI 0.5 for your platform:

On Linux and macOS, ensure that the binary is executable with chmod +x nexigon-cli.

If you want, put the binary into some global directory for executables, e.g., ~/.local/bin.

Configure Nexigon CLI by running the following command:

nexigon-cli configure

You need to provide the URL to your Nexigon Hub instance and a user access token starting with u_sk:

Nexigon Hub URL: https://eu.nexigon.cloud/
User Access Token: [hidden]

The configure command will create a file ~/.nexigon/cli.toml with the following structure:

~/.nexigon/cli.toml
hub-url = "https://eu.nexigon.cloud/"
token = "u_sk_Ufw5NttTcMJYJFVw4pHBxB2HpwztZkn1Emou6XvLtk5R332a3NT71xhR2xxhTp6MFd"

Port Forwarding

To forward a port to your local machine, use the following command:

nexigon-cli forward <device id> [<local port>:<remote port>]*