Documentation Index
Fetch the complete documentation index at: https://docs.dwe.ai/llms.txt
Use this file to discover all available pages before exploring further.
dweOS Legacy has been phased out in favor of dweOS
2.0.
Installation
First Step
Download the latest image here. Connecting
SSH Instructions
SSH into your Raspberry Pi first.
Installation Script
To install for the Raspberry Pi, you can execute the following commands:sudo apt update
sudo apt upgrade
curl -fsSL https://raw.githubusercontent.com/DeepwaterExploration/dweOS/main/scripts/install.sh | sudo -E bash -
Done.
Once installed, the script should exit with the following message:Installation of dweOS was successful.
Please follow this guide only if you are an expert.
You can install manually (for Raspberry Pi or other ARM/x86 systems) by following the individual instructions in the install script below.Install NodeJS 20 and NPM
sudo apt update
sudo apt upgrade
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install nodejs
curl -L https://npmjs.org/install.sh | sudo sh
Install Other Dependencies:
sudo apt install libudev-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
Install dweOS:
sudo npm install -g @dwe.ai/dwe-os-1
Run dweOS Manually:
Type the following into your shell:then press Enter. Append --help at the end, to see more options.Auto Launch (RPi)
To enable auto-launch (recommended for Raspberry Pi):
- Install pm2:
- Start dwe-os-1 from pm2:
- Save the process list:
-
Enable startup for pm2 on Raspberry Pi:
Raspberry Pi:
sudo pm2 startup systemd -u pi --hp /home/pi
Custom System:
sudo pm2 startup systemd -u <your username> --hp /home/<your username>