File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
5771git clone https://github.com/retr0h/tlock.git
You can’t perform that action at this time.
0 commit comments