# Installation

## Diswrap.js Lite Installation

### ProjectDelta(Recommended)

ProjectDelta is a package registry maintained by the developers of Diswrap.js, therefore if something were to go wrong during installations, the issue could be solved asap.

* [ ] Setup your development environment
  * [ ] Create a new Folder
  * [ ] Install PDLM by inputting `npm install -g pdlm` in the command prompt
  * [ ] In the command line, input `pdlm init` and fill out all the information

{% hint style="info" %}
[PDLM](https://npmjs.com/package/pdlm)(Project Delta Library Manager) is the official CLI library for ProjectDelta
{% endhint %}

* [ ] Install Diswrap.js
  * [ ] In the command line, input `npm install diswrap.js`
* [ ] Congrats! Your installation is complete, and you are ready to start development!

### NPM(Not Recommended)

* [ ] Initialize your NPM project(npm init)
* [ ] Create your entry point file
* [ ] In the command line, input `npm install diswrap.js`

## Diswrap.js Pro Installation

{% hint style="danger" %}
Please read [The Usage Agreement](https://diswrap.js.org/usage-agreement-of-diswrap.js-pro) of Diswrap.js Pro before continuing.

By continuing, you agree to The Usage Agreement.
{% endhint %}

Diswrap.js Pro installation requires a little bit more work. This is because of all the authentication processes before your installation, and only ProjectDelta is supported.

* [ ] Setup your development environment
  * [ ] Create a new folder
  * [ ] Install PDLM by inputting `npm install -g PDLM` in the command line
  * [ ] In the command line, input `pdlm init` and fill out all the information

{% hint style="info" %}
[PDLM](https://npmjs.com/package/pdlm)(Project Delta Library Manager) is the official CLI library for ProjectDelta
{% endhint %}

* [ ] ProjectDelta Setup
  * **\[Skip this step if you already have a ProjectDelta account]** In the command line, input `pdlm login` and follow the prompt. Please remember the username that you put in.
  * In the command line, input `pdlm login` and follow the prompts to make sure that you are logged in.
* [ ] Request an Applet
  * [ ] Please join our [Discord Server](https://discord.gg/h8Sah97gWY) if you have not yet.
  * [ ] Read the #rules channel and the #pricing channel
  * [ ] Head on over to applet-request, and click on Request
  * [ ] Fill out the form, and make sure you can access the created ticket.

{% hint style="info" %}
Stop here. There is nothing you could do right now except wait for our response!&#x20;

Our staff will then respond and ask you for the $5.15 dollars payment.

Once our staff has informed you to continue, please move on to the next step.
{% endhint %}

* [ ] Installing Diswrap.js PRO
  * [ ] Make sure you are logged into ProjectDelta by inputting `pdlm login` into the command line
  * [ ] In the command line, input `pdlm install @pro/diswrap.js`
  * [ ] Installation is now complete. Please now follow this documentation to start coding your first bot!

{% hint style="warning" %}
ProjectDelta will check the legitimacy of every single install of the package. If you did not purchase a license, ProjectDelta WILL refuse to install the package. But as long as you have the license, you can install the package as much as you want.
{% endhint %}
