Skip to content

Commit 889f324

Browse files
midasdfclaude
andcommitted
docs: add Zig install instructions to README
Closes #2 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e5210bb commit 889f324

1 file changed

Lines changed: 35 additions & 2 deletions

File tree

README.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,42 @@ A lightweight SSH connection manager with a beautiful TUI, written in Zig.
2626

2727
## Install
2828

29-
### Build from source
29+
### Install Zig
30+
31+
sshz requires Zig 0.15.0+. Choose one of the following methods:
32+
33+
**Download from ziglang.org (all platforms):**
34+
35+
```bash
36+
# Download the latest master build for your platform from:
37+
# https://ziglang.org/download/
38+
# Extract and add to PATH:
39+
export PATH="$HOME/zig:$PATH"
40+
```
41+
42+
**Package managers:**
43+
44+
```bash
45+
# macOS
46+
brew install zig
47+
48+
# Arch Linux
49+
pacman -S zig
50+
51+
# Nix
52+
nix-shell -p zig
53+
54+
# Windows (scoop)
55+
scoop install zig
3056

31-
Requires [Zig](https://ziglang.org/) 0.15.0+.
57+
# Windows (winget)
58+
winget install zig.zig
59+
60+
# Snap
61+
snap install zig --classic --beta
62+
```
63+
64+
### Build from source
3265

3366
```bash
3467
git clone https://github.com/midasdf/sshz.git

0 commit comments

Comments
 (0)