Installation
Install zev on Linux, macOS or Windows with one command, or from your package manager. Then keep it updated.
Search for a command to run…
Install zev on Linux, macOS or Windows with one command, or from your package manager. Then keep it updated.
zev is a single program with nothing else to install. It runs on Linux, macOS and Windows, on both Intel/AMD (x86-64) and ARM (Apple silicon, Graviton, Snapdragon) machines.
curl -fsSL https://zaryn.xyz/install.sh | shOn Debian, Ubuntu, Fedora, RHEL, openSUSE and Arch, this adds Zaryn's signed package repository and installs the zev package, so your system's normal updates keep zev current. On macOS and other Linux systems, it installs the signed zev binary in /usr/local/bin.
If you'd rather set it up yourself, these are the same steps the installer takes.
sudo curl -fsSLo /usr/share/keyrings/zaryn.gpg https://zaryn.xyz/dl/zaryn.gpgecho "deb [signed-by=/usr/share/keyrings/zaryn.gpg] https://zaryn.xyz/dl/apt stable main" | sudo tee /etc/apt/sources.list.d/zaryn.listsudo apt update && sudo apt install zevapt upgrade, dnf upgrade, zypper update, pacman -Syu, scoop update).zev self update, or zev self update --check to only look.zev self update installs a release only if all of these hold:
--to;If zev came from a package manager, zev self update doesn't touch it; it tells you which command to use instead.
Releases are signed with minisign, the same scheme Zig uses for its releases. zev's release key is:
RWQgi1EYwzJgSHlVF5QFI0E4ZaDNfUqL2u9im7SP34VVRCaR60jIUISLTo check a file yourself:
minisign -Vm zev-x86_64-linux -P RWQgi1EYwzJgSHlVF5QFI0E4ZaDNfUqL2u9im7SP34VVRCaR60jIUISLThe package repositories are signed with the OpenPGP key 7C2B 21CB A735 69E5 C83C 6A94 5F2C 0C44 6C49 97EB ("Zaryn Packages"). Your package manager checks every package against it, and install.sh checks the key itself before trusting it.
zev self uninstallIf zev came from a package manager, zev self uninstall names the command to use instead, for example sudo apt remove zev. Your repositories and settings in ~/.zev stay. To leave a private network first, run zev net down --forget.
zev's source lives on Zaryn, in the public repository zaryn/zev: browse it there, or fetch it with zev itself. Building needs only the Zig compiler (the 0.17 development series); zstd is included in the source.
curl -fsSL https://zaryn.xyz/install.sh | sh # zev, to fetch its own sourcezev clone zaryn/zevcd zevzig build -Doptimize=ReleaseSafeThe binary is at zig-out/bin/zev. zig build check-ports compiles zev for every platform it ships for, from any machine.
cd zev-apizig buildzev-api reads its configuration from environment variables, including the database connection and a server identity keypair. The keypair is generated on first run if none exists. You only need your own server if you aren't using a hosted one.