mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2025-01-04 13:24:46 +00:00
8a252f4df9
* Add installation instructions for FreeBSD * remove extra info because the port already has a message after installation that let users know these informations.
59 lines
1.4 KiB
Markdown
59 lines
1.4 KiB
Markdown
# Quick Start
|
|
|
|
## Binary
|
|
SpoofDPI will be installed in `~/.spoofdpi/bin`.
|
|
To run SpoofDPI in any directory, add the line below to your `~/.bashrc || ~/.zshrc || ...`
|
|
```bash
|
|
export PATH=$PATH:~/.spoofdpi/bin
|
|
```
|
|
---
|
|
```bash
|
|
# macOS Intel
|
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
|
|
|
|
# macOS Apple Silicon
|
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-arm64
|
|
|
|
# linux-amd64
|
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
|
|
|
|
# linux-arm
|
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm
|
|
|
|
# linux-arm64
|
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm64
|
|
|
|
# linux-mips
|
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips
|
|
|
|
# linux-mipsle
|
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mipsle
|
|
```
|
|
|
|
## FreeBSD 😈
|
|
```
|
|
# Build from ports tree
|
|
make -C /usr/ports/net/spoofdpi install clean
|
|
# Install the package
|
|
pkg install spoofdpi
|
|
```
|
|
|
|
## Homebrew 🍻
|
|
```bash
|
|
brew install spoofdpi
|
|
```
|
|
|
|
## Go
|
|
You can also install SpoofDPI with `go install`.
|
|
```bash
|
|
go install github.com/xvzc/SpoofDPI/cmd/spoofdpi@latest
|
|
```
|
|
|
|
## How to build
|
|
|
|
```bash
|
|
git clone https://github.com/xvzc/SpoofDPI.git
|
|
cd SpoofDPI
|
|
go build ./cmd/...
|
|
```
|