Prebuilt binaries support Linux x86-64 (amd64) and ARM64 with glibc 2.36+,
PAM and the system's PAM/NSS configuration, including Debian 12+ and Ubuntu 24.04+.
They do not support Alpine/musl or 32-bit systems. Go and Node are not needed
to run them. For the container, see Docker setup.
Install or update to the latest stable release:
curl -fsSL https://tuxee.agent-zero.ai/install.sh | sudo shOr select a version:
curl -fsSL https://tuxee.agent-zero.ai/install.sh | sudo sh -s -- v1.2.3Omit sudo when already root. The installer needs curl and sha256sum.
It verifies the download and installs tuxee in /usr/local/bin without
starting or restarting it. If that directory is missing from your PATH, run:
export PATH="/usr/local/bin:$PATH"Add that line to your shell profile if needed.
Rerun the same install command, even if the installed version has no
tuxee update command. The script runs the downloaded binary's installer.
It replaces an existing Tuxee binary at /usr/local/lib/tuxee/tuxee (the default
systemd service location) or /usr/local/bin/tuxee, preserving configuration,
state and the service unit. Repeating the command is safe; unrelated files
are refused.
The running server keeps its old version until restarted. When ready, restart the running Tuxee instance:
sudo tuxee restartRestarting preserves guardian-backed terminals and GUI applications and ends browser login sessions. Terminals created by older builds without guardians still end on their first restart. The command works for foreground, systemd
and Docker deployments. Older running versions need one restart through the UI,
sudo tuxee service restart, or their existing supervisor before they support
the new CLI runtime restart. Custom executable paths and custom-named service
copies are separate installations; the installer updates only the default installation.
Download the binary and checksum from the same
GitHub release. These commands
select the latest release; replace the tag=... line with tag=v1.2.3 to choose
a specific version.
(
set -eu
case "$(uname -m)" in
x86_64|amd64) arch=amd64 ;;
aarch64|arm64) arch=arm64 ;;
*) echo "Supported architectures: x86-64 and ARM64." >&2; exit 1 ;;
esac
release=$(curl -fsSL --proto '=https' --proto-redir '=https' \
--connect-timeout 10 --max-time 30 -o /dev/null -w '%{url_effective}' \
https://github.com/agent0ai/tuxee/releases/latest)
tag=${release##*/}
asset=tuxee-linux-$arch
base=https://github.com/agent0ai/tuxee/releases/download/$tag
stage=$(mktemp -d)
trap 'rm -rf "$stage"' EXIT
cd "$stage"
curl -fSL --proto '=https' --proto-redir '=https' --connect-timeout 10 \
--max-time 120 --max-filesize 134217728 -o "$asset" "$base/$asset"
curl -fsSL --proto '=https' --proto-redir '=https' --connect-timeout 10 \
--max-time 30 --max-filesize 1048576 -o checksums.txt "$base/checksums.txt"
awk -v name="$asset" '$2 == name' checksums.txt > selected-checksum.txt
sha256sum --check --strict selected-checksum.txt
chmod 700 "$asset"
[ "$("./$asset" version)" = "Tuxee ${tag#v}" ]
sudo "./$asset" __install
)The final command invokes the binary's installer. It safely replaces an existing
Tuxee executable, preserves configuration, and refuses unrelated commands at the
installation path. Installation uses /usr/local/lib/tuxee/tuxee with a symlink
at /usr/local/bin/tuxee. Neither installation method restarts a running server.
sudo tuxee serveOpen https://SERVER/ and sign in with an existing Linux username and password.
Private addresses use a local certificate; see HTTPS setup.
Root is required to authenticate Linux users and run their shells with their
own permissions.
On a system with a running systemd manager, register boot startup and start:
sudo tuxee service install
sudo tuxee service startOther systems can run tuxee serve through their existing supervisor.
See service management and updates.
Restarting Tuxee preserves guardian-backed terminals and GUI apps, and ends browser
login sessions. Linux/container restarts still end those processes. Existing systemd
installations need the unit refresh described in the keeper notes.
Requires Linux, Go 1.26.10+, Node 22+, a C compiler and PAM development headers. On Debian/Ubuntu, install the native build dependencies:
sudo apt-get update
sudo apt-get install git build-essential libpam0g-dev musl-toolsWith Go and Node on PATH:
git clone https://github.com/agent0ai/tuxee.git
cd tuxee
npm ci
npm run build
make -C internal/keeper/native
go build -trimpath -o bin/tuxee ./cmd/tuxee
sudo ./bin/tuxee serveBuild the frontend and native guardian before Go builds or tests on a fresh checkout. The result includes the web UI; Node is not required at runtime. The executable links to the build system's glibc and PAM, so build on a compatible system.
To install the source build as a boot service:
sudo ./bin/tuxee service install
sudo ./bin/tuxee service startSee the developer guide for isolated local runs and verification commands.
For a service installed before the guardian PoC, run sudo tuxee service install
once to refresh its managed unit to KillMode=process, preserving configuration.
Then use tuxee restart to activate the installed binary. Updating only the binary
does not rewrite old systemd units. Live systemd migration needs validation on a
systemd host; the Docker and foreground paths need no unit changes.