Noket ships two binaries:
noket— the command-line client for logging in, managing upstreams, and checking status.noketd— the background connector that keeps the tunnel open and probes your upstreams.
The installers download the release for your platform, verify its SHA-256 checksum, install both binaries,
add them to PATH, install shell completions, and enable the connector at login.
Install
On macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/noket-dev/noket/main/install.sh | bashOn Windows, in PowerShell:
irm https://raw.githubusercontent.com/noket-dev/noket/main/install.ps1 | iexThe default install directory is ~/.local/bin on macOS and Linux and
%LOCALAPPDATA%\Programs\noket on Windows.
Installer options
| Option (macOS/Linux) | Option (Windows) | Effect |
|---|---|---|
--prefix DIR |
-InstallDir DIR |
Install into DIR instead of the default. |
--version vX.Y.Z |
-Version vX.Y.Z |
Install a specific release instead of the latest. |
--no-autostart |
-NoAutostart |
Do not enable the connector at login. |
--no-completion |
-NoCompletion |
Do not install shell completions. |
--uninstall |
-Uninstall |
Remove the binaries and the login item. |
--uninstall --purge |
-Uninstall -Purge |
Also remove ~/.noket. |
To run the script from a checkout, pass the same flags directly:
./install.sh --version v0.1.1 --prefix ~/.local/bin --no-autostartWhat the installer sets up
- Downloads the archive for your OS and architecture and checks its SHA-256 sum.
- Installs
noketandnoketdinto the chosen directory. - Adds that directory to
PATHin your shell profile or user environment. - Installs completions for the current shell, when one can be detected.
- Enables the connector at login: a launchd user agent on macOS, a systemd user unit on Linux, and a
Scheduled Task on Windows. The installer then runs
noket loginwhen a browser is available; the connector waits for the login instead of exiting.
Verify
noket --version
noket statusnoket status shows the config directory, the account, the node id (created on the first noket up),
and whether noketd is running. Before you log in, the account section says it is not logged in.
If the shell cannot find noket, open a new terminal or source the profile the installer updated, then
try again.
Manual installation
Release archives are on the releases page. Each archive
contains both binaries and a checksum file. Unpack it, put both binaries somewhere on PATH, and
continue with Log in. Autostart and completions are optional; see
Run as a service and the shell completion commands in the
CLI reference.