# Installing dependencies

1. Установите [VisualStudio Code](https://code.visualstudio.com/) или Sublime Text или любую другую IDE
2. Установка node, npm, git:\
   2.1. Устанавливаем Node, если версия ниже 20й - <https://nodejs.org/en/download\\>
   2.2. Устанавливаем Git, если еще не установлен:\
   Windows - <https://gitforwindows.org> (всё по умолчанию выбирайте)\
   MacOS - [https://brew.sh](https://brew.sh/) + brew install git
3. Устанавливаем Git и Typescript глобально

```bash
npm install npm -g
npm install typescript -g
```

4. После установки Git у вас должен появиться bash в выборе терминалов в VS Code (на стрелочку нажмите снизу в терминале и там будет Git Bash).&#x20;

<figure><img src="/files/TbaHxm72eAdkQGM4o9lz" alt=""><figcaption><p>Пример терминалов, которые можно использовать!</p></figcaption></figure>

5. Проверяем версию Node, NPM и NVM.

```bash
node -v && git -v && npm -v
# v20.8.0 (не обязательно прям цифра в цифру, главное чтобы была версия выше v20)
# git version 2.42.0 (все равно на версию)
# 9.8.1 (все равно на версию)
```

6. Переходим на рабочий стол

```bash
cd ./<путь на рабочий стол>

# Например:
cd ~/Desktop/
```

7. Клонируем репозиторий и выполняем логин в GitHub, так как это приватный репозиторий

```bash
git clone https://github.com/QSO-soft/QSO-<название репозитория>.git

# Например:
git clone https://github.com/QSO-soft/QSO-taiko.git
```

8. Переходим в папку с проектом

```bash
cd QSO-<название репозитория>

# Например:
cd QSO-taiko
```

9. Устанавливаем нужные зависимости

```bash
npm i

# Обязательно проверьте, чтобы небыло никаких ошибок!
```

10. Подготавливаем файлы к работе. Тут мы сделаем копию всех .example файлов, чтобы вы руками их сами не создавали

{% hint style="danger" %}
Обязательно используйте терминалы bash или zsh! Главное, не powershell!
{% endhint %}

```bash
npm run prepare-files
```

{% hint style="info" %}
Дальше все изменения вносим только в файлы без приставки .example!
{% endhint %}

11. Заполняем файлы (как правильно это сделать, можно глянуть на следующих страницах) : \
    11.1. `src/_inputs/csv/wallets.csv`  \
    11.2. `src/_inputs/csv/proxies.csv` (не обязательно)\
    11.3. `src/_inputs/settings/global.js`\
    11.4. `src/_inputs/settings/settings.ts`
12. Запускаем софт

```bash
npm start
```


---

# Agent Instructions: 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:

```
GET https://darvin-space.gitbook.io/darvin-space-docs/general-setup/installing-dependencies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
