> For the complete documentation index, see [llms.txt](https://arivia.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arivia.rlib.io/setup/install.md).

# Install

## ◾ <mark style="color:red;">Install rlib</mark>

* Go to [**https://get.rlib.io/**](https://get.rlib.io/) and download the latest version of **rlib**.&#x20;
* **Extract** the downloaded zip to your computer
* **Create** a new folder on your gmod server called **rlib**
  * *Example: garrysmod/addons/**rlib**/*
* **Upload** the extracted rlib zip files to the newly created folder.&#x20;
  * Ensure you are uploading the files to match the following file structure:

&#x20;                   📁 garrysmod\
&#x20;                       📁 addons\
&#x20;                           📁 <mark style="color:yellow;">**rlib**</mark>\
&#x20;                                📁 lua\
&#x20;                                📁 materials\
&#x20;                                📁 resource

{% hint style="warning" %}
**WARNING:**\
Downloading the rlib zip will automatically place it inside a folder called **im-richard-XXXXXX**. Make sure that you do not place the lua, material, and resource folders too deep in multiple folders.

<mark style="color:green;">**Correct**</mark><mark style="color:green;">:</mark>\
&#x20;   📁 addons/rlib/lua\
\ <mark style="color:red;">**Incorrect**</mark><mark style="color:red;">:</mark>\
&#x20;   📁 addons/rlib/im-richard-xxxxxx/lua
{% endhint %}

* **Restart** the server
* As the server restarts, **view** the console **for errors**.&#x20;
  * If you see errors, contact the developer with a list of them.
  * If you do not see errors, proceed forward
* **Connect** to your gmod server and spawn in.&#x20;
* Make sure you have **superadmin** access on the server. If you are using an admin mod; do one of the following sub-points below:
  * <mark style="color:yellow;">**ULX:**</mark> In server console; type <mark style="color:blue;">`ulx adduser yourname superadmin`</mark>
  * <mark style="color:yellow;">**SAM:**</mark> In server console; type <mark style="color:blue;">`sam giverank yourname superadmin`</mark>
  * <mark style="color:yellow;">**SGUARD:**</mark> In server console; type <mark style="color:blue;">`serverguard_setrank yourname superadmin`</mark>
* Once you have superadmin; type <mark style="color:blue;">**`?setup`**</mark> in chat.
* You have completed the setup. Proceed to the [**Install Addon**](/setup/install.md#install-addon) section below.

####

## ◾ <mark style="color:red;">Install addon</mark>

* Go to [**https://gmodstore.com/**](https://gmodstore.com/) and download a fresh copy of your purchased script.
* **Extract** the download zip to your computer
* **Create** a new folder on your gmod server called the name of the addon
  * Make sure the folder name contains <mark style="color:red;">**NO SPACES**</mark>, <mark style="color:red;">**NO SPECIAL CHARACTERS**</mark>, and <mark style="color:red;">**NO CAPS**</mark>
  * *Example:  garrysmod/addons/<mark style="color:blue;">**arivia**</mark>*
* **Upload** the extracted addon files to the newly created folder
  * Ensure you are uploading the files to match the following file structure:

&#x20;                   📁 garrysmod\
&#x20;                       📁 addons\
&#x20;                           📁 <mark style="color:yellow;">**arivia**</mark>\
&#x20;                                📁 lua\
&#x20;                                📁 materials\
&#x20;                                📁 resource

* **Restart** the server
* As the server restarts, **view** the console **for errors**.&#x20;
  * If you see errors, view [**Script Throwing Errors**](/faq/script-errors.md)
  * If you do not see errors, proceed forward
* Try to activate your addon.
  * View [**Binds**](/first-use/binds.md) page for list of methods available for this script.
* If you see the script actively working, then you are finished with the setup.

####

## ◾ <mark style="color:red;">What's Next?</mark>

Want to subscribe to this addon's **steam workshop collection**? Visit the [**Workshop**](/setup/workshop.md) page.

Curious about the ***/docs/web*** folder provided in your zip? Visit the [**Web**](/setup/docs-web.md) part of this guide.
