Links
Comment on page

Generic installation instructions

If you do not know where to start. Here is the the default starting point.
1. Install Docker [Linux/PREberry] or Docker Desktop [Windows/Mac] on your target machine of your choice (see the options above)
2. Get your node registration code at https://nodes.presearch.com/dashboard.
3. Run the node start commands below in your terminal to install your node [ See tutorials for how to open terminal on Mac & Windows ]
Copy/Paste the operating-system-specific command below into your terminal:
Linux/Mac/PREberry/Windows-Powershell
Windows-Command Line
docker stop presearch-node ; docker rm presearch-node ; docker stop presearch-auto-updater ; docker rm presearch-auto-updater ; docker run -d --name presearch-auto-updater --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock presearch/auto-updater --cleanup --interval 900 presearch-auto-updater presearch-node ; docker pull presearch/node ; docker run -dt --name presearch-node --restart=unless-stopped -v presearch-node-storage:/app/node -e REGISTRATION_CODE=$YOUR_REGISTRATION_CODE_HERE presearch/node ; docker logs -f presearch-node
docker stop presearch-node & docker rm presearch-node & docker stop presearch-auto-updater & docker rm presearch-auto-updater & docker run -d --name presearch-auto-updater --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock presearch/auto-updater --cleanup --interval 900 presearch-auto-updater presearch-node & docker pull presearch/node & docker run -dt --name presearch-node --restart=unless-stopped -v presearch-node-storage:/app/node -e REGISTRATION_CODE=$YOUR_REGISTRATION_CODE_HERE presearch/node & docker logs -f presearch-node
IMPORTANT: You need to insert your registration code from step #2 above into the script by replacing the text$YOUR_REGISTRATION_CODE_HEREwith your actual registration code. So, for example, if your registration code is XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX then the final command would contain the text REGISTRATION_CODE=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .
The above command installs two services on your computer, the presearch-node and the presearch-auto-updater, and configure both of them to be always running in the background.
The presearch-node actually runs the decentralized search software, whereas the presearch-auto-updater is responsible for automatically upgrading the presearch-node to the newest versions when released to ensure the node stays up to date and can continue to connect to the Presearch network.