> For the complete documentation index, see [llms.txt](https://docs.liquidapps.io/liquidapps-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.liquidapps.io/liquidapps-documentation/dapp-service-providers/dsps/setup-dsp/dsp-node.md).

# DSP Node

Below we will install the necessary dependencies for the DSP node software then run it.

Prerequisites

* git
* Ubuntu 20+
* go 1.19

#### Linux

```bash
sudo su -
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install 16
nvm use 16
exit
```

**Ubuntu/Debian**

```bash
sudo apt install -y make cmake build-essential python3 npm git node-typescript
```

**Centos/Fedora/AWS Linux:**

```bash
sudo yum install -y make cmake3 python
```

### Install

Below we will install the pm2 process manager.  You can read more on pm2 [here](https://pm2.keymetrics.io/)

```bash
sudo su -
npm install -g pm2
npm install -g @liquidapps/dsp --unsafe-perm=true
exit
```

{% hint style="warning" %}
If you get a `Failed at the zeromq@5.2.8` error, try using node version `12.20.0`
{% endhint %}

### Configure Settings

**Any changes to the `config.toml` file will require `setup-dsp` to be run again.** Link to [`sample-config.toml`](https://github.com/liquidapps-io/zeus-sdk/blob/master/boxes/groups/dapp-network/dapp-services-deploy/sample-config.toml)

{% hint style="info" %}
Should you have any questions about settings, feel free to reach out to me on Telegram `@natpd`
{% endhint %}

```bash
sudo su -
mkdir ~/.dsp
cp $(readlink -f `which setup-dsp` | xargs dirname)/sample-config.toml ~/.dsp/config.toml
nano ~/.dsp/config.toml
exit
```

### Launch DSP Services

Below we will use the DSP's setup command to launch the services.  \*Note that if you are not in the DSP's root directory or lower the `setup-dsp` command will throw an error, simply ensure you run the `cd` command below.

```bash
sudo su -
cd $(readlink -f `which setup-dsp` | xargs dirname)
setup-dsp
exit
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.liquidapps.io/liquidapps-documentation/dapp-service-providers/dsps/setup-dsp/dsp-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
