Repository navigation
Releases
Viaalink CLI v4.2.1
4.2.1 lifts the 4.1.1 pause on via vault, introduces Viaalink Apps in alpha (with the first ten public apps and optional vault-backed app secrets), adds WireGuard device traffic inspection (via inspect start --device) plus MySQL, MariaDB and Redis decoders to the network inspector, ships via's own Caddy 2.11.7 build (with caddy-security, caddy-l4 and DNS-01 providers) in every release archive, fixes Caddy restart recovery and package routing, and patches a critical cross-spawn advisory.
Install or update
curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bashWindows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already on 4.x: via update · Coming from 3.x: run the installer again.
Security
cross-spawn7.1.2 (was 7.0.6). Resolves GHSA-ghv9-86vm-4v8m (critical, command injection on Windows when spawning batch files) in the shipped dependency tree.
Added
via inspect start --deviceinspects a phone's or computer's own traffic.
It prints a WireGuard config and QR code to import on the device; all of its
TCP and UDP traffic then goes through this machine. Only that config's key
connects, and the listener binds to one address of this machine. TLS is not
opened, so no certificate goes on the device; each flow is logged with its
host, TLS version and whether its payload is readable. Each start is a run
with its own flow log and a control canary (--canary).via inspect stop --device --forgetalso removes the keys.- An app package can declare its network services in its own
via.yaml, with
the fields of a project'svia.yaml(network.services.<id>:dial,
host,public,subdomain,env,priority,rawRoutes, ...), in
place of anet.manifest.yaml.via net apply,via env initand
via config validateread it for every folder under the packages
directory that has anapp.yaml. A published HTTP service is reached
through the proxy without naming the proxy's port, and the project's
ENV_PREFIXgoes in front of the service id. Anet.manifest.yamlkeeps
working; a package with both files is refused with a message that names
them, and a field an app may not set (login, modes) is an error that says
to set it in the project'svia.yaml. - Three more fields on a
via.yamlservice, which until now only a
net.manifest.yamlcould set:responseHeaders(response headers the
proxy sets on that service's answers, for example
responseHeaders: { "Cache-Control": ["no-store"] }),authPolicy(the
login policy the proxy asks for in front of the service) and
authBypassPaths(paths that skip that policy, such as the service's own
sign-in callbacks). via config validatewarns when a service hassecuritySensitive: trueand
basic_auth: { enabled: false }. A securitySensitive service always keeps a
login, so thatenabled: falsedid nothing, and the file passed validation.
To publish such a service without a login (an app with its own sign-in),
removesecuritySensitive: true.- Viaalink Apps, alpha: the first ten apps are public. The registry
viaalink/appsholds Authentik, Gitea, Mattermost, n8n,
Open WebUI, Redmine, Apache Superset, Vaultwarden, Wiki.js and Zammad. Add it once with
via app registry add viaalink https://github.com/viaalink/apps; then, in a project folder
(via init),via app install <id>,via app start <id>andvia app setup <id>give a
running app with its first administrator made. With Authentik in the same project the other
apps connect their sign-in to it themselves. No registry is built in;via app listand
via app registry listnow name this command while none is added. - The vault is back, and apps can use it (optional). The
via vaultcommands load again
withoutVIA_ENABLE_VAULT=1; the pause of 4.1.1 is lifted.via app vault <id>stores an
installed app's generated secrets in the vault and leaves their addresses in.env
(KEY=via://<project>/<app>/KEY);via app startandvia app setuphand the app the
values.project.apps.vault: trueinvia.yamldoes this for every app at install. An
app file can name more secret keys withsecrets:. When an app's secrets are in.envas
plain text,via app installandvia app startsay so in one line; nothing is moved
unless you ask. prepare:steps in an app file. They run on everyvia app start <id>, before the
app's containers exist, for settings an app only reads when it starts (a sign-in client,
a repaired.envvalue). What a step writes to.envreaches the containers of that same
start, and the app's data folders and files are in place before a step runs. A failing
step stops the start.via app installandvia app infoshow them as
"Steps before every start";--onlystarts part of an app without them.via app setuphands each step the app's own folder asVIA_APP_DIRand its
data directory asVIA_APP_DATA_DIR, so an app can ship a setup script and
call it wherever the app is installed.project.apps.compose_projectandproject.apps.networkinvia.yaml:
a project can name the one Docker Compose project and the network its apps
run in, so a plainvia app statussees the same containers as a script
that setsVIA_APPS_COMPOSE_PROJECT/VIA_APPS_NETWORK(which still win).via app start <id> --only <service>[,<service>]starts only the named
services of an app (and what they depend on), for example its database
before a restore. It reports those containers only, and refuses a name that
is not one of the app's services.inspect: trueon a TCP service now shows MySQL, MariaDB and Redis traffic
decoded in the network inspector, next to Postgres: the inspector loads the
mysqlwire and rediswire decoders as well as pgwire. Each one recognises its
own protocol from the bytes, so one inspector serves every database. Logins
(a MySQL password, a RedisAUTH) are kept out of the stored flows, and
decoded queries and rows stay out of the inspector's log file. An inspector
that was started with the Postgres decoder alone is restarted on the next
via net apply.via app: install and run apps from an app registry. A registry is a git
repository or a directory with one folder per app (apps/<id>/app.yaml
plus its Docker Compose file); add one with
via app registry add <name> <git-url|directory>. No registry is built in.
via app list,via app search <text>andvia app info <id>show what
there is;via app install <id>shows the images, ports, volumes and setup
commands of the app and asks before it copies anything. The app lands in the
project'spackages/<id>/folder, its settings are added to.env, and
apps.lock.yamlrecords the registry, the commit and a hash of the package.
via app start|stop|status|setup|uninstall <id>run it; uninstalling keeps
the app's data volumes. An app with anet.manifest.yamlgets its address
fromvia net apply, like any other package of the project. A package the
project already has inpackages/<id>/is an app as soon as it has an
app.yaml: it starts and stops with the same commands and is never
uninstalled. An app's Compose file getsVIA_APP_DATA_DIR(its own data
folder in the project's workspace) andVIA_APPS_NETWORK(the Docker network
apps share,via-appsunless the project's.envnames another). Each app
runs in its own Docker Compose project named<project>-<app>, so two
projects on one machine can run the same app without sharing containers or
volumes. A one-off
container that ends without an error (migrations, first-time init) counts as
done, not as a failed start; a container that ends with an error and is
restarted by Docker fails the start, andvia app statusshows how often
each container was restarted.via app info <id>also describes an app the
project already has, with no registry added. An app can
name files it needs in its data folder before the first start (files:in
app.yaml, a copy of a package file or an empty file); a file that exists is
never replaced. A project
that already runs its packages in one Docker Compose project keeps doing so
by settingVIA_APPS_COMPOSE_PROJECTin.env;via app startand
via app statusthen count and show only the app's own containers, not
those of the other apps in that Compose project. This first
version does not check signatures and has noupdateyet.
Fixed
- Releases and nightlies ship via's own Caddy build again (Caddy 2.11.7 with
caddy-security, caddy-l4 and the DNS-01 providers, from
viaalink/caddy-dns-builds), asviaitself downloads it. They carried
upstream's plain Caddy 2.11.2, socaddy-securityroutes, Layer 4
(TCP inspect) routes and DNS-01 certificates failed on a fresh install.
Every archive is checked against the checksum pinned in the CLI, and a
build without these modules is refused, never replaced by plain Caddy. - The network inspector's page on the published hub address
(https://hub-…/asde/inspect/) shows traffic live again: its WebSocket was
refused (403, "connection lost") because the relay route sent mitmweb the
service's own address as Host, so every browser Origin looked foreign. The
inspector's route now keeps the browser's Host (new manifest field
caddy.keepHost); mitmweb's check still refuses other origins. via inspect stopno longer takes inspected databases down: a TCP
service's local address (Local TCPinvia net urls) now goes straight to
the database while the inspector is stopped, and says so per service.
Before, its connections went to the stopped inspector and failed or hung.
via net applyputs the inspector back in front.- **
project.tunnel.domainalso holds for a project's packages.*...
Viaalink CLI v4.1.1
4.1.1 moves the CLI to zod 4, which removes a high-severity advisory from what the CLI ships, and pauses the vault until its design has been reviewed.
Install or update
curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bashWindows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already on 4.x: via update · Coming from 3.x: run the installer again.
Security
- zod 4.6.7 (was 3.25.76). Every zod before 4.6.6 lets a large array that fails an array schema use memory without limit (GHSA-mrhx-c7xc-m3w5, high). In the CLI, zod checks your config files, saved state, the GitHub CLI's output and the viaalink.com account's replies. None of the CLI's servers (
via serve mcp, the hub,via http) checks incoming requests with it, and the MCP libraries already used a patched zod, so it was not reachable from the network; it was in what the CLI ships.via schema,via config validateand your config files behave as before.
Changed
- The vault is paused. The
via vaultcommands (list, get, set, delete, import, export, inject, run) are off by default until the feature's design has been reviewed: they are not listed invia help, andvia vault …is an unknown command. SetVIA_ENABLE_VAULT=1to switch them back on, unchanged. Stores and key files you may already have are not touched, and avault:block in a config is still accepted.
Fixed
- With the vault switched on, two first writes to a new scope at the same moment no longer fail with "the keyring is missing, but the scope has secrets".
Viaalink CLI v4.1.0
4.1.0 closes the ways a service on your own machine could be reached without a login, makes commands say truthfully whether they did what was asked, and finishes the GitHub side of Viaalink CI/CD: VS Code on a runner with via gh code, the job's log with via gh logs, and a session you start from GitHub's Actions page now shows its address in the job's log.
Install or update
curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bashWindows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already on 4.x: via update · Coming from 3.x: run the installer again.
Security
- DbGate is reachable only through the studio's login. It ran on a network port with its own login off, so anyone on the same network, and any web page you visited, could read and change your databases. On Linux and macOS it now listens on a socket only you can open; on Windows on 127.0.0.1 with its own login on. Restart a running DbGate (
via dbgate stop,via dbgate start) and runvia net apply. - VS Code in the browser is no longer open to every user on your machine.
via code startnow listens on a socket only you can open (Linux, macOS) or asks for its own password (Windows). Restart it and runvia net apply. - The MCP control server (
via serve mcp,via serve hub) needs a login for everything except health, the service list, tunnels, relays and the shell list, and masks secrets in what it returns. Runvia env initandvia net applyonce after upgrading. Scripts and apps that called it without a login must now send one. via tmux kill-allonly ends sessions the CLI started. It used to end every tmux session whose name starts withasd-, also your own.via net start --id <id>no longer restarts a detected service from the folder you stand in (which could serve your project's.env). It runs the service in its own folder, or starts nothing and says why.via caddy server-addno longer wipes your routes. If you used it before, runvia net applyto put them back.
Check before you upgrade scripts and CI
- Commands exit non-zero when they did not do what was asked. Among them:
via up,via startandvia stopwhen a task fails;via initwhen a module asked to auto-start did not start;via config validateoutside a project;via gh active,via gh runsandvia gh stopwhen the GitHub CLI call fails. The changelog lists every one. - Every command refuses an option it does not take, with a pointer to its
--help, instead of ignoring it. via gh terminal --interface codeserveris gone: usevia gh code.via gh terminalno longer asks which CLI version the runner installs; pass--cli-version <tag>to choose one.via gh setupandvia ci installuse the git repository of the folder you are in, and exit 1 outside one.- Template helpers take named arguments only:
getRandomString(length=64), notgetRandomString(64); the same forgetRandomPort(s)andgetPortRange. - Removed:
via deps sync,via deps validate,via deps update(they only worked in the source checkout),via repo setup(usevia init) andvia env-init(usevia env init).
Viaalink CI/CD
via gh codestarts VS Code on a GitHub runner, or reopens yours. It isvia gh terminalwith VS Code instead of a terminal.via gh logs [<run-id>]prints the job log of a session's run, without GitHub's timestamps;--grep <text>keeps the matching lines.- A session started from GitHub's Actions page shows its address.
via gh setupandvia ci installnow store the relay's address (VIA_TUNNEL_HOST,VIA_TUNNEL_PORT) as repository variables instead of secrets. GitHub replaces a secret's value with***in a run's log, so the address could not be read there. The key, the host key pins and the terminal password stay secrets. A repository set up earlier keeps working; to get the readable address, runvia gh setupagain, push the newterminal.yml, and runvia gh setuponce more. via gh setupandvia ci installtake--yesfor scripts, and never replace an editedterminal.ymlwithout saying its changes are lost (--replace-workflow).- Each run's title says whether it is a terminal or a VS Code session.
New
- Pair a phone with the hub:
via hub pairprints an address and a one-time code for the Android app;via hub deviceslists paired phones andvia hub unpairremoves one.
Fixed
- Downloads and GitHub API calls give up instead of hanging: an API call after 15 seconds, a download when no data arrives for 60 seconds.
via startandvia stoprun their task the wayvia rundoes, and background steps of a task keep running after the command returns.- More than forty further fixes are in the changelog.
Viaalink CLI v4.0.1
4.0.1 makes what the CLI tells you trustworthy, for people and for AI agents that follow it literally. Every command a hint, fix or error suggests now exists, with the options it shows. via net apply and via down exit 1 when they report an error. The CLI stops a process only when it can prove the pid is still the process it started.
Install or update
curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bashWindows (PowerShell): irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iex · Already installed: via update
Check before you upgrade scripts and CI
- Unknown options are refused. Many more commands now reject an option they do not know, with a pointer to
--help, instead of ignoring it. A script that passed a flag a command never read now fails: remove the flag.via logs -n 50now takes the number. via net applyexits 1 when it reports an error for any service, including a public address that does not answer within 30 seconds. Before, "Apply finished with errors" still exited 0.via downexits 1 when anything was not stopped, was refused or failed.- A process is stopped only with proof. A relay client whose pid file comes from an older version, or a pid file that belongs to another project's workspace, is reported (pid, pid file, reason) and left running; the command exits 1.
via net expose stop --id <id>on a shared hub service needs--force, likevia net stopalready did.- A public address may change once. A tunnel stored under an uncleaned prefix (
my_app,shop.v2, a slug over 48 characters) moves to the cleaned host (my-app) on the nextvia net apply, and the move is reported.
Fixed
- A changed tunnel prefix now moves the tunnel. Before,
via net applykept the old host and exited 0 while the new address answered 404. Now the new tunnel starts, the old one stops, and the move is reported (movedin--json). via net apply --tunnelchecks every public address, with certificate validation, before it reports a tunnel as up.- Hints only name real commands. Every suggested command is checked against the CLI's own command list, so hints no longer send you to the relay binary, a
justrecipe or a source checkout. - Relays added with a join link whose credential has no expiry made
via diagnose,via relay listand publishing act as if there was no relay. A missing expiry now means the credential never expires. - The dashboard's live service stream no longer reports every service as removed while the registry is being written.
Viaalink CLI v4.0.0
Viaalink CLI 4.0 brings Viaalink CI/CD: a live terminal or VS Code on a GitHub Actions runner, published through your relay and started from your laptop with one command, plus temporary addresses for the services your job runs. Project state moves from .asd/ to .via/, Caddy now listens on this machine only, and no command puts a login into a URL any more. This is a major release: read Breaking changes / upgrading before you update.
New: Viaalink CI/CD
via ci installadds a short.github/workflows/terminal.ymlthat calls the Viaalink CI/CD Action (uses: viaalink/cicd@v2; workflows that still sayviaalink/ci-terminal@v2keep working). Installing the CLI on the runner, the login, publishing through the relay and cleanup all live in the Action, so fixes reach your repository without reinstalling the workflow.via cion its own lists its commands.via ci install --runs-on self-hosted,linux,x64runs the terminal on your own self-hosted runners. At a terminal,via ci installasks where the terminal runs and offers custom labels.via gh setupinstalls the workflow and stores its repository secrets for you, after asking (the relay key, its host key pins and the terminal passwordVIA_TERMINAL_PASSWORD). Values go togh secret seton stdin and are never printed.--relay <name>picks which enrolled relay's key to store; with several relays and no--relay, it asks.via gh terminalstarts a session: "Start terminal.yml in on (runner , terminal)? [Y/n]". It printsPublished: https://…/, how to sign in, andvia gh stop <run>, then returns.--watchkeeps following the run until it ends.--interface codeserveropens VS Code instead of a shell;--show-loginalso prints the address with the login in it.via gh terminalworks with the Action and with the CLI's ownterminal.yml, follows the run it started (not a colleague's), and reopens your running session instead of queueing a second one.- The version step offers the workflow's default (recommended), the latest release, the latest nightly, or a version you type.
via gh activelists running sessions;via gh runsshows terminal runs as a table;via gh stopstops a session.
New: project state in .via/
- The CLI keeps a project's local state in
.via/(.via/workspace/,.via/state/) and no longer writes.asd/into a project. - When it creates
.via/in a git repository, it adds.via/to the project's.gitignoreonce and says so, unless git already ignores it. CRLF line endings are kept. Outside a git repository, or in a repository at your home folder, no.gitignoreis touched.
Other additions
dial: 5175invia.yaml(and innet.manifest.yaml) meanslocalhost:5175.host:portkeeps working.- Databases: a service can declare
database: { engine: postgres, … }, andvia database startlists it in DbGate as a ready connection (no password stored).tunnelProtocol: tcpwithinspect: trueshows each Postgres connection's SQL in the network inspector; withpublic: truethe database gets a raw TCP port on your relay throughvia net apply --tunnel. Only the database's own login stands in front of that port, andvia net applysays so. via deps install --binary caddyinstalls Viaalink's own Caddy 2.11.7 build (DNS-01 providers, authentication and layer4 plugins) on Linux, macOS and Windows, x64 and arm64. Run it with--forceto switch an existing install.VIA_CADDY_BASE_URLtakes Caddy from your own folder or URL of builds, checked against itsSHA256SUMS.txt.- After
via net applychanges a service'senv:values in.env, it names each changed key and the service to restart. Values are not printed. via doctorhas an "App listeners" check, andvia diagnosechecks the relay, device key, DNS and SSH port that the relay client actually uses.
Changed
- Output leads with the address to share:
Published: https://…, thenLocal route: … (this machine only)andYour app: localhost:<port>, invia expose,via expose list,via files,via netandvia net urls.via net urlsmarks services that need a login. - The login in front of a
public: trueservice invia.yamlnow follows yourpreferences.expose_authchoice, asvia exposealready did. Terminals, code editors, database tools and Mailpit always keep their login. Change it withvia config set preferences.expose_auth always|sensitive-only|never. via read-envmasks passwords, secrets, tokens, keys and logins inside URLs;--show-secretsprints them.via read-env NAMEprints only that value.- A refused login shows a short page ("This address needs a login. Ask whoever shared it.") instead of a blank one.
- The default local host is
via.localhost(wasasd.localhost), and a service without its own path or host answers on/via/<service>(was/asde/<service>). See upgrading below.
Breaking changes / upgrading
via devinciis gone. Usevia ci(via ci install).- Project state moves from
.asd/to.via/. While services an earlier version started still run from.asd/(Caddy, and the services and tunnels in its registry), the CLI keeps using.asd/and names them. To move:via downvia env init(it showsWorkspace: .asd/workspace → .via/workspace)- Delete the old
.asd/folder; it is no longer used.
${{ macro.exposedOriginWithAuth() }}is removed. It wrotehttps://user:password@…into.env. Avia.yamlthat uses it now fails with "unknown macro expression". Use${{ macro.exposedOrigin() }}and pass the login separately, for examplecurl -u "$ASD_BASIC_AUTH_USERNAME:$ASD_BASIC_AUTH_PASSWORD" "$APP_URL".- Caddy listens on this machine only (127.0.0.1, and ::1 where available) instead of every network interface. Relay addresses keep working. To reach a project from other devices on your network, or from the internet when this machine is a server, set
network.caddy.lan_access: trueinvia.yaml; the change takes effect on the nextvia net applyorvia caddy start.
If you run your own Viaalink Relay that serves HTTPS through Caddy: setnetwork.caddy.lan_access: truein the Relay's config before it runs this CLI, or update the Relay to 1.40.5 or later. Otherwise its public HTTPS listens on loopback only. via gh stop <id>asks before stopping a run someone else started. Without a terminal it does not ask: it stops only your own runs, and for any other run prints "Not stopped: # …" and exits 1. It only cancels terminal sessions, never a CI or release run.- A
terminal.ymlfrom before 3.2 is refused ("This terminal.yml was installed by a CLI before 3.2; runvia gh setupto update it."). Runvia gh setupin the repository, let it replace the file, and commit it. - GitHub terminal secrets have new names. The workflow reads
VIA_TUNNEL_KEY,VIA_TUNNEL_KEY_ID,VIA_TUNNEL_HOST,VIA_TUNNEL_HOST_KEY_FINGERPRINTS, optionalVIA_TUNNEL_PORT, andVIA_TERMINAL_PASSWORD. The oldASD_TUNNEL_*secrets are not read. Runvia gh setupagain in each repository that uses the terminal workflow (it stores the new secrets), then delete the old ones withgh secret delete ASD_TUNNEL_KEY --repo <owner>/<repo>(and_KEY_ID,_HOST,_PORT).via gh terminalnames any missing secret. The terminal password is no longer a workflow input, and the default username is nowvia. via auth exportno longer prints the private key. Add--with-key, as ineval $(via auth export --with-key).- A
via.yamlservice without activation checks is only published when its app answers.via net apply --tunnelprobes itsdialand leaves it unpublished when nothing listens ("web: not published — app down: …"). Start the app first. project.tunnel.protocol: tcpis refused. It published the root service without its login. Give the service itselftunnelProtocol: tcpandpublic: true.- Local addresses: run
via net applyonce after upgrading. Oldasd.localhostand/asde/<service>bookmarks then redirect tovia.localhostand/via/<service>. Projects that setproject.domainkeep their host. via caddy sync-authwith onlyASD_BASIC_AUTH_PASSWORDin the environment now uses the login in.env. Set both username and password in the environment, or keep the login in.env.via diagnose --regionis removed (it did nothing).- Run
via net applyonce after upgrading to put back logins on services exposed with an earlier version (see Security).
Security
- No login goes into a URL the CLI writes to a file, prints, copies or opens:
via netmenus, the service menus (which now offer "Copy username" and "Copy password"),via net open, the registry andASD_TTYD_URLin.env. Restart the web terminal and code-server once (via ttyd stop && via ttyd start, the same forcodeserver) to rewrite an address an older version left. via net applyno longer removes the loginvia exposeput in front of a service's public address. Runvia net applyonce after upgrading.- The studio's files (
/asde/hub-config.json,/asde/hub-services.json,/asde/hub-services-public.json) and the dashboard need the studio login on every address, and no longer carry a login. If you published the studio (via terminal tunnel,via hub uporfeatures.hub_visibility), replace its login:cd ~/.local/share/via/projects/personal && via expose auth --rotate. - A service deleted from
via.yamlis no longer left public: the nextvia net applycloses its relay address and removes its routes. - A hub service id that is not lowercase letters, digits and hyphens is refused wherever it becomes a socket path.
- The terminal workflow masks the password in its URL-encoded forms, no longer echoes invalid inputs, refuses unusual usernames, and stops the published address as soon as a run is cancelled.
- The network inspector and DbGate say in their...
Viaalink CLI v3.2.6
Security release for the web terminal, plus via relays, clearer account and relay output, and a set of fixes for via up, dbgate and mitmproxy. 3.2.4 and 3.2.5 were tagged but never published; 3.2.6 is the first public release with these changes.
Security
- On Linux and macOS the web terminal's password is no longer on ttyd's command line, where any user of the computer could read it with
ps. ttyd now listens on a UNIX socket in a directory only you can enter, and Caddy asks for the hub login (via expose auth) in front of it, locally and through the relay. Windows is unchanged. /asde/terminal/asd/healthcheckno longer leads to the terminal. In 3.2.3 a project withnetwork.caddy.basic_auth.enabledcould be reached through it without a login. Every hub healthcheck now answers itself, andvia net applyputs the service's login in front of every raw route that passes requests on to a sensitive service. Update if you use the web terminal.- After
via expose auth --rotatethe old password no longer works over HTTPS, and the web terminal restarts so shells opened with the old login end. via ttyd start tunnelno longer prints the password.- The npm packages compiled into the CLI are refreshed, picking up fixes for published advisories in
axios,follow-redirects,form-data,shell-quote,ws,honoand others.zod3 remains affected by GHSA-mrhx-c7xc-m3w5 (fixed only inzod4).
Added
via relayslists the Relays your viaalink.com account is connected to, and whether this device already uses each one. Matching happens locally; nothing about your device's relays is sent.--jsonfor scripts.- Every release carries
THIRD_PARTY_NOTICES.txtand a CycloneDX SBOM (viaalink-cli.cdx.json).
Changed
via whoamishows your viaalink.com account and this device's relays separately.via relay info <name>lists every domain the relay offers, and also takes a domain instead of a name;via relay listshows "+N more" when a relay has several domains.- The bundled relay client is
viaalink-relay1.38.0.
Fixed
via upruns projects that only have avia.yaml, and no longer prints "Started" for a task that did not start.via runandvia upfill missing.envkeys from the template before checking the config.- The tunnel URL
via exposeprints now keeps the relay's port. via dbgate startandvia mitmproxy startwork without a separate Bun install (also on Windows), stop cleanly, and print an address only once it answers.via urlsfollows the workspace a project pins, and lists services avia runstep published.- A mistyped command on a fresh computer no longer creates a workspace.
- The
.env.bakbackup is readable only by you. via caddy startno longer says "Caddy installed" when it did not install one.
Re-run the installer to also update the bundled relay client and helpers; via update only swaps the CLI binary.
Viaalink CLI v3.2.3
Security release: the bundled relay client is updated.
Security
- The relay client is
viaalink-relay1.37.1, built with Go 1.26.10, x/net 0.62.0 and x/crypto 0.58.0. It fixes 16 advisories that affect it, among them two in x/crypto/ssh (GO-2026-6355, GO-2026-6354). Checksums are pinned for all six platforms.
Re-run the installer to update the relay client; via update only swaps the CLI binary.
Viaalink CLI v3.2.2
Dashboard services send one valid CORS header again.
Fixed
- The web terminal, VS Code and other dashboard services no longer send an invalid, duplicated
Access-Control-Allow-Originheader. The list of sites allowed to embed them now goes only into theContent-Security-Policyframe-ancestorsheader. Runvia net applyafter updating to refresh the routes.
Changed
- The Caddy client is now
@viaalink/caddy-api-client0.10.0 (formerly@accelerated-software-development/caddy-api-client).
Viaalink CLI v3.2.1
The CLI is via all the way down: via.yaml, VIA_* settings and via data and config directories. Existing asd.yaml files, ASD_* names and asd directories keep working.
New
via.yamlis the project file.via initwritesvia.yamlin a new project. A project with onlyasd.yamlkeeps using it, unchanged. When a folder has both,via.yamlis used and the CLI saysasd.yamlis ignored.- Every
ASD_*setting can be set asVIA_*(VIA_SKIP_BINARIES=all,VIA_MODE,VIA_HTTP_HOST, …). When both are set,VIA_wins. The installers readVIA_INSTALL_BASE_URL,VIA_HOMEandVIA_NO_MODIFY_PATH. - Your data and config directories are named
via:~/.local/share/viaand~/.config/viaon Linux,~/Library/Application Support/viaon macOS,%LOCALAPPDATA%\viaand%APPDATA%\viaon Windows. The installer, or the firstviarun, moves an existingasddirectory there and leaves a link at the old name. Relay enrolments, device keys, the vault, projects and running services carry on untouched. If Windows holds a file in the old directory open, the CLI keeps using it and tries the move again on a later start.
Changed
- Messages, help and
via schemanamevia.yaml, theviadirectories andVIA_*settings.via authprintsVIA_TUNNEL_*exports for containers. - The relay client is
viaalink-relay1.37.0, with pinned checksums for Linux, macOS and Windows. - On Windows the CLI is installed in
%LOCALAPPDATA%\via\bin.
Also in this release (from 3.1.9)
3.1.9 and 3.2.0 were not published on their own; everything in them ships here.
New
via files start [folder]shares a folder in the browser. It asks three questions: keep serving in the background (yes), publish it on your relay (no), and put a login in front (yes). Flags answer them for scripts:--background/--foreground,--public,--auth=none|basic.via files tunnelshares it publicly in one step;via files listandvia files stop <name>manage shares, from any folder. Hidden files (.env,.git/…) are never served, and a symlink cannot lead outside the shared folder.via expose auth --rotatereplaces the logins of a project (the basic auth and the web terminal's). Old passwords and links stop working at once. It asks first;--yesfor scripts.- Quick login, opt-in:
via config set preferences.show_auth_in_urls true. In a terminal that supports it, links open with one click and show the password as dots. In CI, a pipe, a log or Apple Terminal no password is printed. via exposechecks the public address before it says it is live, and tells you when the tunnel does not answer yet.
Changed
- No passwords in output. Only
via expose authshows them, now including the web terminal's login.terminal start,net apply, the service menus andvia urlsno longer print one. - You pick the default relay. The first relay you add becomes the default. Adding another asks whether it should be the default; without a terminal the default stays and the new relay is added to
via relay list.--defaultswitches without asking;via relay set <name>switches later. via relay rotate-keyasks before it replaces the device key;--yesfor scripts.via net applywithout a relay applies everything on this machine and ends with a clear warning that nothing was published, with the steps to add a relay.- Output says
viaand Viaalink. Hints name the command you typed, and services read "VS Code", "Network inspector", "Database manager", "Web terminal" and "Dashboard". - A bare
viashows the same task-ordered overview asvia help. via helpno longer listsdatabase(it needs a separate Bun install) and, on Windows,code(no Windows build). Both still run.via initregisters the folder as a project, sovia projects listshows it.
Fixed
via expose listshows exposes without a tunnel ("On this machine only") and no longer reports a live tunnel in a temp folder as an orphan.- Short options take their value:
-s prod,-n 50,-p <dir>. via ssh connectworks when the project path contains a space.via vault importimports.envfiles next to a.env.exampleand skips a Python.env/folder.- On Windows the installer keeps
%VAR%entries in your PATH. via terminal startpoints atvia terminal tunnel(theexposehint led to a login loop).- Stop commands say "stopped" or "was not running"; "Did you mean?" no longer suggests unrelated commands.
- A
python3 -m http.serveris detected as a service.
Viaalink CLI v3.1.8
Viaalink CLI 3.1.8 tightens security and gives via help a clear overview of the commands that are ready to use.
Install or update
curl -fsSL https://raw.githubusercontent.com/viaalink/cli/main/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/viaalink/cli/main/install.ps1 | iexHighlights
- A clear
via help. It lists the commands that were tested on Linux, macOS and Windows, by task: Get started, Relays, Publish, Tools in the browser, Secrets, Check and update.via help --allstill lists every command. - Mistyped options are caught. An option a command does not take is refused with a suggestion (
via update --chanel→ "Did you mean --channel?"). Before, it was ignored.--helpon these commands lists their options. - How your relay names your links.
via relay info <relay>shows whether the relay gives your links a suffix (for example-nico), andvia exposetakes it into account. This needs Viaalink Relay 0.62.6 or newer, and a relay client that can ask.
Security
- Web terminal:
via terminallistens on this machine only (127.0.0.1). Before, its login page could be reached from your local network. - Network inspector: the proxy behind
via inspectlistens on this machine only (it was open to your network). Its password no longer shows in the process list. SetMITMPROXY_LISTEN_HOSTif another device should use the proxy. - Project settings:
viano longer runs scripts that abunfig.tomlin the current folder points to. This is not yet the case for the build for older CPUs without AVX2. - Adding a relay by hand:
via relay add --host … --key …checks the relay's host key before it asks which domains the relay serves.
Fixes
via net: the "newly detected service" window only offers your own services running in this project. A service you skip with Esc stays skipped, and Ctrl+Q quits while the window is open.