> For the complete documentation index, see [llms.txt](https://codedthemes.gitbook.io/berry/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codedthemes.gitbook.io/berry/getting-started/pre-requisites.md).

# Pre-requisites

{% hint style="info" %}
No need to set up or configure tools such as Webpack or Babel - they are already configured, allowing you to focus on the code.
{% endhint %}

## **Pre-requisites**

1. [Node JS](https://nodejs.org/en/) - Version 24.x.x recommended
2. [Yarn](https://yarnpkg.com/)/[NPM ](https://www.npmjs.com/)package manager
3. When copying folders, include hidden files like `.env`. This file contains important theme settings. **Do not delete** the `.env` file. Update its **values** according to your organization’s needs, but **do not change the keys**.
4. The theme includes two lock files: `yarn.lock` (for Yarn) and `package-lock.json` (for npm). Each of these files corresponds to a different package manager. To ensure consistency and avoid potential conflicts:
   1. **Choose a Package Manager**: Decide whether you will use Yarn or npm for managing dependencies in your project.
      * **If using Yarn**: Retain `yarn.lock` and delete `package-lock.json`.
      * **If using npm**: Retain `package-lock.json` and delete `yarn.lock`.
   2. **Do Not Modify Lock Files Manually**: Avoid editing the contents of `yarn.lock` or `package-lock.json` directly. Manually changing these files can lead to dependency issues and inconsistencies. Always use the appropriate package manager commands (`yarn` or `npm`) to update or regenerate these files.

You can check your current version using the following commands:

```powershell
c:\> node -v
c:\> yarn -v
c:\> npm -v
```

{% hint style="warning" %}
This documentation primarily uses Yarn. You can replace Yarn commands with npm if needed.
{% endhint %}

## **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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://codedthemes.gitbook.io/berry/getting-started/pre-requisites.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
