Back to Deploy

VPS Deployment

Deploy PGWIZ-MD on your own VPS with PM2

Environment Configuration

Auto Env
Manual Env
Advanced virtual assistant on the PGWIZ-MD main branch.

Download Scripts

Choose your preferred installation method

One-Line Install

Generate a temporary install URL (valid 24h)

Manual Installation

# 1. Update system
sudo apt update && sudo apt upgrade -y
sudo apt install git ffmpeg curl -y

# 2. Install Node.js v20
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install nodejs -y

# 3. Install Yarn and PM2
sudo npm install -g yarn pm2

# 4. Clone PGWIZ-MD
git clone https://github.com/pgwiz/PGWIZ-MD pgwiz-md
cd pgwiz-md && yarn install

# 5. Create config.env and add SESSION_ID

# 6. Start with PM2
pm2 start index.js --name pgwiz-md --attach