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

# Install

This section explains the installation process. Follow the instructions step-by-step.

## <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:green;">**rlib**</mark>\
&#x20;                                📁 lua\
&#x20;                                📁 materials\
&#x20;                                📁 resource

{% hint style="warning" %} <mark style="color:orange;">**WARNING:**</mark>\
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.
{% endhint %}

* **Restart** 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>**:** Type in server console: <mark style="color:yellow;">`ulx adduser yourname superadmin`</mark>
  * <mark style="color:yellow;">**SAM**</mark>**:** Type in server console:<mark style="color:yellow;">`sam giverank yourname superadmin`</mark>
  * <mark style="color:yellow;">**SGUARD**</mark>**:** Type in server console: <mark style="color:yellow;">`serverguard_setrank yourname superadmin`</mark>
* Once you have superadmin; type <mark style="color:yellow;">**`?setup`**</mark> in chat.
* You have completed the setup. Proceed to the [**Install Addon**](broken://pages/-MFKE7rR9eafweSbpIHl#install-addon) section below.

## <mark style="color:red;">▸</mark> <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** downloaded zip to your computer
* **Create** new folder on gmod server with 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/**hudhive***
* **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:green;">**hudhive**</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**](broken://pages/-MTHyQd3C5mQOqKnAR6A)
  * If you do not see errors, proceed forward
* Try to activate your addon.
  * View [**Binds**](broken://pages/-MO60n3QnGr2kt-M-GDZ) 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**](broken://pages/-MFKEyM_jfxq9_G-8wc7) page.

Curious about the ***/docs/web*** folder provided in your zip? Visit the [**Web**](broken://pages/-MO6-T2OFPI0vlSVbE_H) part of this guide.
