Skip to content

Commit

Permalink
chore: oneliner install script
Browse files Browse the repository at this point in the history
  • Loading branch information
NOBLES5E committed Sep 20, 2024
1 parent 9c7a56e commit 24d137b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ install with `cargo`:
cargo install cproxy
```

Here's a oneliner that downloads the latest release and put it in your `/usr/local/bin/`:

```
curl -s https://api.github.com/repos/NOBLES5E/cproxy/releases/latest | grep "browser_download_url.*x86_64-unknown-linux-musl.zip" | cut -d : -f 2,3 | tr -d \" | wget -qi - -O /tmp/cproxy.zip && unzip -j /tmp/cproxy.zip cproxy -d /tmp && sudo mv /tmp/cproxy /usr/local/bin/ && sudo chmod +x /usr/local/bin/cproxy && rm /tmp/cproxy.zip
```

## Usage

### Simple usage: just like `proxychains`
Expand Down

0 comments on commit 24d137b

Please sign in to comment.