Zuko's host and reference CLI are the same binary. Host releases support glibc Linux and macOS on x86_64 and ARM64.
The installer detects or bootstraps mise, configures activation for Bash, Zsh, or Fish, and installs Zuko as a global mise tool:
curl -fsSL https://zuko.adonm.dev/install.sh | sh
# Relaunch your shell here if the installer asks.
zuko --versionIf the installer adds mise activation to your shell profile, exit and relaunch
the shell before running zuko. Its Zuko tool entry sets mise's minimum release
age to 0s so a newly published Zuko release is immediately available; this
does not change the global policy for other tools. Re-running the installer
upgrades an existing mise-managed Zuko installation. To inspect the script
before running it:
curl -fsSLo /tmp/zuko-install.sh https://zuko.adonm.dev/install.sh
less /tmp/zuko-install.sh
sh /tmp/zuko-install.shOptional settings:
# Install one release rather than latest.
curl -fsSL https://zuko.adonm.dev/install.sh | ZUKO_VERSION=0.12.0 shUpdate with zuko upgrade or mise upgrade github:adonm/zuko. Restarting the
host service ends its in-memory PTYs, so zuko upgrade shows the plan before it
does so.
Install and start the per-user service:
zuko install
zuko doctorLinux uses a systemd user unit. A server that must continue after logout also needs lingering:
sudo loginctl enable-linger "$USER"
journalctl --user -u zuko-host -fmacOS uses a LaunchAgent. Follow its log with:
tail -f "${XDG_CONFIG_HOME:-$HOME/.config}/zuko/zuko-host.err.log"You can avoid service installation and keep the host in the foreground:
zuko hostWindows does not have a native host service. See Windows host through WSL2 for the Linux-host workaround and its limitations.
Install Zuko on a second machine or choose another client. Then:
# Host: print a one-time two-word code.
zuko share
# Client: claim the code, save the host, and connect.
zuko iridescent-hiltonThe host must be running while you pair. zuko share authorizes that client;
the code is not a reusable password. Future connections use the saved host
name:
zuko ls
zuko homeUse zuko rm <name> to revoke a client or forget a host. Continue with
host operations for service control, state, reset, diagnostics, and
session behavior.