Cross-platform installer and management tools for Throne - the next-generation proxy client. This repository provides comprehensive scripts for installation, configuration management, and advanced features across Linux, macOS, and Windows.
Choose your platform and run the appropriate command:
bash <(curl -fsSL https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/throne-linux.sh)bash <(curl -fsSL https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/throne-mac.sh)# Run in PowerShell as Administrator
Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/windows/installer.ps1" -UseBasicParsing).ContentThe Linux script (throne-linux.sh) provides a comprehensive menu-driven interface with the following options:
- Install Throne - Downloads and installs the latest Throne release system-wide
- Backup Configuration - Creates a backup of your current Throne/NekoRay configuration
- Restore Configuration - Restores configuration from a backup file
- Uninstall - Completely removes Throne and all related files
- Enable Hotspot - Creates a Wi-Fi hotspot that routes traffic through Throne
- Disable Hotspot - Stops the hotspot and removes routing rules
- Exit - Closes the installer
- Ubuntu, Debian, Linux Mint, Pop!_OS (
.debpackages) - Fedora, RHEL, CentOS, Rocky Linux, AlmaLinux (
.rpmpackages)
- Automatic Wi-Fi interface detection
- nftables-based traffic routing
- NetworkManager integration
- Secure WPA2 password protection
The macOS script (throne-mac.sh) provides a menu-driven interface optimized for macOS:
- Install Throne - Downloads and installs Throne to
/Applications/Throne.app - Backup Configuration - Creates a backup of your Throne/NekoRay configuration
- Restore Configuration - Restores configuration from a backup file
- Uninstall - Removes application and preferences (supports both Throne and NekoRay)
- Exit - Closes the installer
- Native macOS application installation
- Automatic architecture detection (Intel/Apple Silicon)
- Homebrew integration for dependencies
- Spotlight and Launchpad integration
The Windows PowerShell script (windows/installer.ps1) provides automated installation:
- Downloads the latest Windows installer executable
- Automatically launches the official installer
- Uses native Windows installation methods
- PowerShell-based for maximum compatibility
The script automatically:
- Fetches the latest release from GitHub
- Downloads the Windows installer
- Launches the installer with elevated permissions
- One of the supported distributions
curl(usually pre-installed)- Package manager (
dpkgfor Debian-based,rpmfor Red Hat-based) - For hotspot features:
nmcli,iw,nftables
- macOS 10.15 or later
- Homebrew (script can install if missing)
curlandunzip(installable via Homebrew)
- Windows 10 or later
- PowerShell 5.1 or later
- Administrator privileges for installation
For the Wi-Fi hotspot feature to work properly:
-
Enable Tun Mode in Throne:
- Open Throne GUI
- Go to Settings → Enable Tun Mode
-
Required Packages:
# Debian/Ubuntu sudo apt install network-manager iw nftables # Fedora/RHEL sudo dnf install NetworkManager iw nftables
-
Run Hotspot Setup:
- Execute the Linux script and select option 5
- Choose a secure password (minimum 8 characters)
- The script will create SSID "ohmythrone" by default
Linux:
- Permission denied: Ensure you have sudo privileges
- Package not found: Verify your distribution is supported
- Hotspot not working: Check that NetworkManager is active and Tun Mode is enabled
macOS:
- App not opening: Check Gatekeeper settings and allow unidentified developers if needed
- Homebrew not found: The script will offer to install Homebrew automatically
Windows:
- PowerShell execution policy: Run
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser - Download failed: Check internet connection and Windows Defender settings
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.