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

# Setup node

## Setting up Node.js Environment

To get started with Wapi.js, you need to have Node.js installed on your machine. If you don't have Node.js installed, you can download it from the official website [here](https://nodejs.org/en/download/).

### Installing Node.js

> [!TIP]
>
> To check if you already have Node.js installed on your system, open your terminal and run the following command:
>
> ```bash theme={null}
> node -v
> ```

> [tab] Windows
>
> On Windows, it's as simple as installing any other program. Follow the steps below to install Node.js:
>
> **1. Download Node.js**
>
> Download the Node.js installer from the official website [here](https://nodejs.org/en/download/).
>
> **2. Install**
>
> Run the installer and follow the instructions.
>
> **3. Check Installation**
>
> Once the installation is complete, open your terminal and run the following command to check if Node.js is installed:
>
> ```bash theme={null}
>     node -v
> ```

> [tab] MacOS
>
> On MacOS, youc an install Node.js using `n`, a node version manager:
>
> **1. Download and Intall \`n**
>
> Install n using the following command:
>
> ```bash theme={null}
>     curl -L https://bit.ly/n-install | bash
> ```
>
> **2. Re-source**
>
> Close and reopen the terminal, or run the following command to apply the changes:
>
> ```bash theme={null}
>     source ~/.bashrc # or any other shell you are using
> ```
>
> **3. Install Node using `n` (LTS mostly)**
>
> Install the desired version of Node.js using nvm
>
> ```bash theme={null}
>     sudo n lts
> ```
>
> **4. Verify Installation**
>
> Verify the installation:
>
> ```bash theme={null}
>     node -v
> ```

> [tab] Linux
>
> On Linux, you can install Node.js using `nvm`, a node version manager:
>
> **1. Download and Install `nvm`**
>
> Install nvm using the following command:
>
> ```bash theme={null}
>     curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
> ```
>
> **2. Install**
>
> Close and reopen the terminal, or run the following command to apply the changes:
>
> ```bash theme={null}
>     source ~/.bashrc # or any other shell you are using
> ```
>
> **3. Install Node using NVM (LTS mostly)**
>
> Install the desired version of Node.js using nvm
>
> ```bash theme={null}
>     nvm use --lts
> ```
>
> **4. Verify Installation**
>
> Verify the installation:
>
> ```bash theme={null}
>     node -v
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.