Local Install
Run PC2 on your own computer with one command.
Install PC2
Open your terminal and paste this:
curl -fsSL https://raw.githubusercontent.com/Elacity/pc2.net/main/scripts/start-local.sh | bashWait for it to finish, then open http://localhost:4200 in your browser.
Works on macOS, Linux, and Windows (via WSL2).
Common Questions
How do I stop my PC2 node?
pm2 stop pc2How do I start my PC2 node?
pm2 start pc2How do I restart my PC2 node?
pm2 restart pc2How do I check if PC2 is running?
pm2 statusYou’ll see a table. If PC2 shows “online”, it’s running.
How do I see what’s happening (logs)?
pm2 logs pc2Press Ctrl+C to stop watching logs.
How do I update PC2?
Open PC2 in your browser, go to Settings → About, and click Check for Updates.
Or via terminal:
cd ~/pc2.net
git pull origin main
npm install --legacy-peer-deps --ignore-scripts
cd pc2-node && npm run build
pm2 restart pc2Windows Users
PC2 runs on Windows via WSL2:
- Open PowerShell as Administrator
- Run:
wsl --install - Restart your computer
- Open “Ubuntu” from Start menu
- Run the install command above
Where is everything stored?
| What | Location |
|---|---|
| PC2 installation | ~/pc2.net/ |
| Your files | ~/pc2.net/pc2-node/data/ |
| Configuration | ~/pc2.net/pc2-node/config/ |
Troubleshooting
”Command not found: pm2”
Run this first:
source ~/.nvm/nvm.shPC2 won’t start
Check if something else is using port 4200:
lsof -i :4200If you see a process, kill it:
kill -9 <the PID number>Then start PC2:
pm2 start pc2Uninstalling
pm2 stop pc2
pm2 delete pc2
rm -rf ~/pc2.net⚠️
This deletes all your uploaded files! Back up ~/pc2.net/pc2-node/data/ first if needed.