Skip to content

Package Manager

Manual Installation

bash <(curl -fsSL https://sing-box.app/deb-install.sh)
bash <(curl -fsSL https://sing-box.app/rpm-install.sh)
bash <(curl -fsSL https://sing-box.app/arch-install.sh)

Managed Installation

Type Platform Link Command Actively maintained
AUR (Linux) Arch Linux sing-box ᴬᵁᴿ ? -S sing-box
nixpkgs (Linux) NixOS sing-box nix-env -iA nixos.sing-box
Homebrew macOS / Linux sing-box brew install sing-box
Alpine (Linux) Alpine sing-box apk add sing-box
Type Platform Link Command Actively maintained
Homebrew macOS / Linux sing-box brew install sing-box
Type Platform Link Command Actively maintained
Scoop Windows sing-box scoop install sing-box
Chocolatey Windows sing-box choco install sing-box
winget Windows sing-box winget install sing-box
Type Platform Link Command Actively maintained
Termux Android sing-box pkg add sing-box

Service Management

For Linux systems with systemd, usually the installation already includes a sing-box service, you can manage the service using the following command:

Operation Command
Enable sudo systemctl enable sing-box
Disable sudo systemctl disable sing-box
Start sudo systemctl start sing-box
Stop sudo systemctl stop sing-box
Kill sudo systemctl kill sing-box
Restart sudo systemctl restart sing-box
Logs sudo journalctl -u sing-box --output cat -e
New Logs sudo journalctl -u sing-box --output cat -f