SpoofDPI/_docs/INSTALL.md

43 lines
1.2 KiB
Markdown
Raw Normal View History

2024-08-30 08:02:03 +00:00
# Installation Guide
2024-08-30 08:34:10 +00:00
## Table of Contents
2024-08-30 08:02:03 +00:00
<!--ts-->
* [Binary](#binary)
* [Go](#go)
<!--te-->
2024-08-30 08:05:44 +00:00
## Binary
2024-08-29 12:20:35 +00:00
SpoofDPI will be installed in `~/.spoofdpi/bin`.
To run SpoofDPI in any directory, add the line below to your `~/.bashrc || ~/.zshrc || ...`
2024-08-27 03:14:54 +00:00
```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
```
2024-08-30 08:05:44 +00:00
## Go
2024-08-30 08:02:03 +00:00
```bash
go install github.com/xvzc/SpoofDPI/cmd/spoofdpi@latest
```