ββββββββββββββββββββββββββββββββββββββββββ
β X-UI Management β
β Control Panel β
ββββββββββββββββββββββββββββββββββββββββββ
ββ Available Operations ββββββββββββββββββ
β β
β [1] Install New Instance β
β β Create and configure X-UI β
β β
β [2] Check System Status β
β β View all running instances β
β β
β [3] Uninstall Instance β
β β Remove X-UI installation β
β β
β [4] Uninstall All Panels β
β β Remove all X-UI installations β
β β
β [5] Exit Program β
β β Close management script β
β β
ββββββββββββββββββββββββββββββββββββββββββ
Enter your choice [1-5]:
β
Custom Instance Names - Use any name you want (e.g., my-panel, backup-ui, test-server)
β Multiple Installation Sources - Install from GitHub releases or local files or URL
β Smart Detection - Automatically finds existing instances
β Complete Isolation - Each instance has separate database and configuration
β Easy Management - Interactive menu and command-line for each instance
β Security Action - Randomize admin credentials and Configure unique ports for each instance
# Download the script
curl -O https://raw.githubusercontent.com/trainpredator/x-ui-multi-installer/main/install-x-ui.sh
# Make it executable and run
chmod +x install-x-ui.sh
./install-x-ui.sh# Install with custom name
./install-x-ui.sh --name my-panel # Latest from GitHub
./install-x-ui.sh --name backup-ui --github v1.8.3 # Specific version
./install-x-ui.sh --name test-server --file /path/to/file.tar.gz # Local file
# Install with auto-numbered names (x-ui, x-ui2, x-ui3...)
./install-x-ui.sh --github # Latest version
./install-x-ui.sh --file /path/to/file.tar.gz # From local file
# Management commands
./install-x-ui.sh --status # Check all instances
./install-x-ui.sh --uninstall my-panel # Remove specific instance
./install-x-ui.sh --uninstall # Show removal menu
./install-x-ui.sh --help # Show all options# Interactive menu - choose which instance to remove
./install-x-ui.sh --uninstall
# Remove specific instance directly
./install-x-ui.sh --uninstall my-panel
./install-x-ui.sh --uninstall x-ui2Manual Removal (if needed)
# Replace 'my-panel' with your instance name
sudo systemctl stop my-panel
sudo systemctl disable my-panel
sudo rm -rf /usr/local/my-panel/
sudo rm -f /usr/bin/my-panel
sudo rm -f /etc/systemd/system/my-panel.service
sudo rm -rf /etc/my-panel/ # This removes the database too
sudo systemctl daemon-reloadπΊ If you encounter issues with xray, check for port conflicts.