The interactive method is recommended for most users as it guides you through each step:
Run Interactive Installer
bash <(curl -s https://raw.githubusercontent.com/guldkage/Pterodactyl-Installer/main/installer.sh)
Interactive Installation Steps
1
Choose Installation Type
Select whether to install Panel only, Wings only, or both components.
2
Domain Configuration
Enter your fully qualified domain name (FQDN) for the panel.
3
SSL Certificate
Choose whether to install SSL certificate via Let's Encrypt.
4
Admin Account Setup
Create your admin account with email, username, and password.
Step-by-Step Manual Installation
Step 1: System Updates & Dependencies
Update system and install dependencies
# Update system packages
sudo apt update && sudo apt upgrade -y
# Install required packages
sudo apt install -y curl wget gnupg2 software-properties-common apt-transport-https ca-certificates lsb-release
# Add PHP repository
sudo add-apt-repository ppa:ondrej/php -y
sudo apt update
Install PHP 8.3 and extensions
sudo apt install -y php8.3 php8.3-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip,intl,sqlite3,redis}
Install Composer
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
Step 2: Database Setup
Install and configure MySQL/MariaDB
# Install MariaDB
sudo apt install -y mariadb-server mariadb-client
# Secure MySQL installation
sudo mysql_secure_installation
Create database and user
# In MySQL prompt:
CREATE DATABASE pterodactyl1;
CREATE USER 'pterodactyl'@'localhost' IDENTIFIED BY 'your_secure_password';
GRANT ALL PRIVILEGES ON pterodactyl.* TO 'pterodactyl'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Automated Installation
For advanced users or server automation, use the non-interactive mode:
Basic Auto Install
Command Generator
Example Commands
Automated Installation Syntax
bash <(curl -s https://raw.githubusercontent.com/guldkage/Pterodactyl-Installer/main/autoinstall.sh) \
<fqdn> <ssl> <email> <username> <firstname> <lastname> <password> <wings>
Parameters Explanation
<fqdn>
Your panel domain (e.g., panel.yourdomain.com)
<ssl>
SSL certificate installation: true or false
<email>
Your email address for Let's Encrypt and admin account
<username>
Admin account username
<firstname>
Admin account first name
<lastname>
Admin account last name
<password>
Admin account password (use strong password)
<wings>
Install Wings: true or false
Manual Dependencies Installation
For manual installation, install the following dependencies:
Update System
# Update package lists
sudo apt update && sudo apt upgrade -y
Install Required Packages
# Install essential packages
sudo apt install -y software-properties-common curl apt-transport-https ca-certificates gnupg
# Add PHP repository
sudo add-apt-repository -y ppa:ondrej/php
# Update package lists
sudo apt update
Install PHP 8.1 and Extensions
sudo apt install -y php8.1 php8.1-{common,cli,gd,mysql,mbstring,bcmath,xml,fpm,curl,zip}
Install MariaDB
# Install MariaDB
sudo apt install -y mariadb-server mariadb-client
# Secure MariaDB installation
sudo mysql_secure_installation
Install and Configure Redis
# Install Redis
sudo apt install -y redis-server
# Start and enable Redis
sudo systemctl start redis-server
sudo systemctl enable redis-server