CLI Last verified:

Install the Viaalink CLI

Install the via command-line tool and publish a local port through your Viaalink Relay.

Install on Linux and macOS (with the first release)

The Viaalink CLI (via) binaries for Linux and macOS are published with the first release — ask contact@viaalink.com for early access.

Once you have the via binary on Linux or macOS, make it executable and place it in your PATH:

bash

Verify that the CLI is installed:

bash

Authenticate with your Relay

Before publishing services, authenticate your machine with your Relay server:

bash

Publish a local port

Once via is installed, publish a local HTTP port (for example port 3000) to a public HTTPS address on your Viaalink Relay:

bash

via expose 3000 is supported as an alias for via publish 3000:

bash

For advanced publishing options, including custom subdomains, TCP database ports, multi-port forwarding, and background sessions, see Publishing Services with the Viaalink CLI.