ℹ️
postgresandtimescaledbare only supported in versions v1.0.0 and later.
ℹ️ Pre-release versions (e.g.,v1.0.0-beta.1) can also be installed using--version.
-
Install pasarguard with SQLite:
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pasarguard.sh)" @ install -
Install pasarguard with MySQL:
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pasarguard.sh)" @ install --database mysql -
Install pasarguard with PostgreSQL(v1+ only):
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pasarguard.sh)" @ install --database postgresql -
Install pasarguard with TimescaleDB(v1+ only) and pre-release version:
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pasarguard.sh)" @ install --database timescaledb --pre-release -
Install pasarguard with MariaDB and Dev branch:
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pasarguard.sh)" @ install --database mariadb --dev -
Install pasarguard with MariaDB and Manual version:
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pasarguard.sh)" @ install --database mariadb --version v0.5.2
-
Install Node
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pg-node.sh)" @ install -
Install Node Manual version:
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pg-node.sh)" @ install --version 0.1.0 -
Install Node pre-release version:
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pg-node.sh)" @ install --pre-release -
Install Node with custom name:
sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pg-node.sh)" @ install --name Node2📌 Tip:
The--nameflag lets you install and manage multiple Node instances using this script.
For example, running with--name pg-node2will create and manage a separate instance namedpg-node2.
You can then control each node individually using its assigned name. -
Update or Change Xray-core Version:
sudo pg-node core-update
Use help to view all commands:
pg-node help
