> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lib.toolrinth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Set up your project to use ToolrinthLib

### System Requirements

* **NPM** 8.6.0
* **Node.JS** 18

### Install ToolrinthLib

<Steps>
  <Step title="Install via NPM">
    ```sh theme={"theme":"github-dark-high-contrast"}
    npm install @toolrinth/lib
    ```
  </Step>

  <Step title="Create an ApiClient">
    Create an [ApiClient](/reference/class/ApiClient) instance to fetch data from Modrinth

    ```ts theme={"theme":"github-dark-high-contrast"}
    import * as Modrinth from "@toolrinth/lib";

    const apiClient = new Modrinth.ApiClient(token?);
    ```
  </Step>

  <Step title="Test the Library">
    ```ts theme={"theme":"github-dark-high-contrast"}
    const create = await apiClient.Projects().getProject("create");
    ```

    Returns [Response](/reference/type/Response)\<[Project](/reference/type/Project) | null>
  </Step>
</Steps>
