# Pre-requisites

{% hint style="warning" %}
No need to install or configure tools like Webpack or Babel—everything is preconfigured and handled in the background, allowing you to focus entirely on development.
{% endhint %}

## **Pre-requisites**

Mantis is based on `node` and `Vite`. Please check the following **prerequisites** before jumping into it.

**Node** is the primary prerequisite for Mantis. Open your command terminal and check using the **`node -v`** command

```bash
c:\> node -v
v24.x.x
```

**Package Manager** - npm or yarn

```
c:\> npm -v
v11.6.2
```

```bash
c:\> yarn -v
v4.12.0
```

#### **Package Manager - yarn**

This project uses **Yarn (via Corepack)** for dependency management. The required Yarn version is specified in the `package.json` file, and Corepack ensures the correct version is used automatically. There's no need to install Yarn globally.

**If Corepack is not available:** Corepack is included with Node.js version 16.10+ by default. If it's not installed or enabled:

1. Ensure you’re using Node.js 16.10 or higher.
2. Enable Corepack by running : `corepack enable`
3. If Corepack is unavailable, update Node.js to a supported version.

After Corepack is enabled, run `yarn` commands, and the correct version will be handled for you automatically. For more information about Yarn and Corepack, refer to the documentation:

1. [https://yarnpkg.com/getting-started/install](https://yarnpkg.com/getting-started/installhttps://yarnpkg.com/corepack)
2. [https://yarnpkg.com/corepack](https://yarnpkg.com/getting-started/installhttps://yarnpkg.com/corepack)

## **Troubleshooting**

If you face the following error in your terminal, it means **Yarn** is not installed in your system.

```bash
c:\> yarn -v
'yarn' is not recognized as an internal or external command,
operable program or batch file.
```

Please install it using this [link](https://yarnpkg.com/getting-started/install), as it does not come with **Node** automatically.
