chore: update readme
This commit is contained in:
20
README.md
20
README.md
@@ -32,14 +32,19 @@ nix profile install github:karol-broda/snitch
|
|||||||
|
|
||||||
download from [releases](https://github.com/karol-broda/snitch/releases):
|
download from [releases](https://github.com/karol-broda/snitch/releases):
|
||||||
|
|
||||||
```bash
|
- **linux:** `snitch_<version>_linux_<arch>.tar.gz` or `.deb`/`.rpm`/`.apk`
|
||||||
# amd64
|
- **macos:** `snitch_<version>_darwin_<arch>.tar.gz`
|
||||||
curl -L https://github.com/karol-broda/snitch/releases/latest/download/snitch_linux_amd64.tar.gz | tar xz
|
|
||||||
sudo mv snitch /usr/local/bin/
|
|
||||||
|
|
||||||
# or install .deb/.rpm/.apk from releases
|
```bash
|
||||||
|
tar xzf snitch_*.tar.gz
|
||||||
|
sudo mv snitch /usr/local/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **macos:** if blocked with "cannot be opened because the developer cannot be verified", run:
|
||||||
|
> ```bash
|
||||||
|
> xattr -d com.apple.quarantine /usr/local/bin/snitch
|
||||||
|
> ```
|
||||||
|
|
||||||
## quick start
|
## quick start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -174,5 +179,6 @@ theme = "auto"
|
|||||||
|
|
||||||
## requirements
|
## requirements
|
||||||
|
|
||||||
- linux (reads from `/proc/net/*`)
|
- linux or macos
|
||||||
- root or `CAP_NET_ADMIN` for full process info
|
- linux: reads from `/proc/net/*`, root or `CAP_NET_ADMIN` for full process info
|
||||||
|
- macos: uses system APIs, may require sudo for full process info
|
||||||
|
|||||||
Reference in New Issue
Block a user