Skip to content

Commit bab9cf8

Browse files
retr0hclaude
andcommitted
docs: add binary download instructions to README install section
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 437cc01 commit bab9cf8

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,22 @@ A terminal lock screen for macOS that uses **Touch ID** for biometric unlock wit
5050

5151
## 📦 Install
5252

53-
> **Note:** tlock requires CGo and macOS frameworks (LocalAuthentication, PAM),
54-
> so it must be built from source on a Mac.
53+
### Download binary (macOS)
54+
55+
Grab the latest release for your architecture:
56+
57+
```bash
58+
# Apple Silicon (M1/M2/M3/M4)
59+
curl -sL https://github.com/retr0h/tlock/releases/latest/download/tlock_$(curl -sL https://api.github.com/repos/retr0h/tlock/releases/latest | grep tag_name | cut -d '"' -f4 | tr -d v)_darwin_arm64 -o tlock
60+
61+
# Intel Mac
62+
curl -sL https://github.com/retr0h/tlock/releases/latest/download/tlock_$(curl -sL https://api.github.com/repos/retr0h/tlock/releases/latest | grep tag_name | cut -d '"' -f4 | tr -d v)_darwin_amd64 -o tlock
63+
64+
chmod +x tlock
65+
sudo mv tlock /usr/local/bin/
66+
```
67+
68+
### Build from source
5569

5670
```bash
5771
git clone https://github.com/retr0h/tlock.git

0 commit comments

Comments
 (0)