Easily install NekoRay or Throne on Linux and macOS with desktop shortcut support. Supports backup, restore, and Wi-Fi hotspot tunneling through Nekoray.
- � Linux Installation
- 🍎 macOS Installation
- 🔐 Backup & Restore
- 📡 WiFi Hotspot Routing via NekoRay (Linux)
wget -qO- https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/linux/installer.sh | bash
Creates a desktop shortcut and installs the latest release in your home directory.
wget -qO- https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/linux/uninstaller.sh | bash
Removes the installed files and shortcut.
# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install required dependencies
brew install wget unzip
curl -fsSL https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/mac/installer.sh | bash
Creates an application in /Applications/Throne.app
and installs the latest release.
curl -fsSL https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/mac/uninstaller.sh | bash
Removes the installed application and preferences.
Linux:
Backup your NekoRay config folder to a .zip
file:
wget -qO- https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/linux/backup.sh | bash
macOS: Backup your NekoRay or Throne config:
curl -fsSL https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/mac/backup.sh | bash
This will create a file like
nekoray-backup-2025-07-17.zip
in the current directory.
Linux: Restore your config from a backup zip:
bash <(wget -qO- https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/linux/restore.sh) path/to/backup.zip
macOS: Restore your config from a backup zip:
curl -fsSL https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/mac/restore.sh | bash -s path/to/backup.zip
It will replace your current config with the contents of the zip file.
Tunnel all traffic from connected devices through Nekoray using a Wi-Fi hotspot.
In the NekoRay GUI, go to Settings
→ enable Tun Mode:
wget -qO- https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/linux/hotspot-on.sh | bash
Creates a Wi-Fi hotspot and redirects traffic through the VPN tunnel.
wget -qO- https://raw.githubusercontent.com/ohmydevops/nekoray-installer/main/linux/hotspot-off.sh | bash
Turns off the hotspot and restores previous settings.
These scripts rely on
nmcli
. Ensure NetworkManager is installed and active.