Local Install

This page documents ElastOS v1 (PC2), the proof of concept. ElastOS v2 is the current system. To install it, see Install ElastOS. To see how the stages fit together, see ElastOS in stages.

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 | bash

Wait 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 pc2

How do I start my PC2 node?

pm2 start pc2

How do I restart my PC2 node?

pm2 restart pc2

How do I check if PC2 is running?

pm2 status

You’ll see a table. If PC2 shows “online”, it’s running.

How do I see what’s happening (logs)?

pm2 logs pc2

Press 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 pc2

Windows Users

PC2 runs on Windows via WSL2:

  1. Open PowerShell as Administrator
  2. Run: wsl --install
  3. Restart your computer
  4. Open “Ubuntu” from Start menu
  5. Run the install command above

Where is everything stored?

WhatLocation
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.sh

PC2 won’t start

Check if something else is using port 4200:

lsof -i :4200

If you see a process, kill it:

kill -9 <the PID number>

Then start PC2:

pm2 start pc2

Uninstalling

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.

© 2026 Elacity Labs. ELASTOS® is a registered trademark of Elastos DAO. ElastOS is open source under the MIT licence.