Viaalink CLI · via · for developers

From localhost to the world — viaalink.

Run via expose 3000 on your machine to put a local web app on your own domain through your Viaalink Relay.

$ via expose 3000
connectsrelay.yourcompany.com
publishesport 3000

Your app is then reachable at https://app.relay.yourcompany.com

01 / Install

Install the Viaalink CLI.

One command installs via. Then connect it to your Relay with via relay add.

Linux, macOS and Android (Termux)

$ curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bash

Windows (PowerShell)

$ irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex

Or download the archive

The one-liner is the recommended way; the archive is for when you can't run a script. Checksums are linked below to verify your download.

Checksums

02 / Publish

Publish a local port through your Viaalink Relay.

via expose 3000 gives a port on your machine a public HTTPS address through your Viaalink Relay.

$ via expose 3000

via expose 3000 --foreground keeps it in the terminal until you press Ctrl+C.

03 / AI agents

Let your AI coding agent run via.

Viaalink Skills teach Claude Code, Codex, Cursor, Antigravity and other coding agents the via commands and how to set up a Relay, checked against the CLI itself. One command adds them to your project; then ask in plain words.

The skills

via
Picks the right skill for any Viaalink request.
via-expose
Shares a port, a folder or a terminal over HTTPS.
via-setup
Writes via.yaml so the whole team gets the same addresses.
via-relay
Hosts, upgrades and monitors your own Viaalink Relay.
$ npx skills add viaalink/skills -y

# Then ask your agent: "Share port 3000 as demo"

04 / Apps

Install self-hosted apps with the Viaalink CLI.

Viaalink Apps are packages for the Viaalink CLI. You add the public registry once; then via app installs an app into your project, starts it and does the first-run work, such as the first administrator. Publish it through your Relay like any other service.

$ via app install wikijs
$ via app start wikijs
$ via app setup wikijs

# name and generated password of the first administrator: in .env

05 / via.yaml

See what via.yaml publishes.

Edit the file on the left. The right side shows what via net apply would do: which service gets which address on your Relay.

via.yaml
$ via net apply --dry-run

project my-shop · 3 services

shop127.0.0.1:3000
local http://shop.localhost
● https://shop.relay.yourcompany.com
api127.0.0.1:8080
local /api
● https://api.relay.yourcompany.com/api
db-admin127.0.0.1:8978
local 127.0.0.1:8978
local only, not published

Runs in your browser. It reads project and network.services only.

Contact

Talk to a human. Kelvin is one.

Questions about the CLI or Viaalink Relay? Write directly.