# Detect the node.js environment

## test\_node

In the directory where the install.sh script is stored, right-click git bash and run the following command:

```bash
source install.sh test_node
```

{% hint style="success" %}
The environment variable is configured successfully if the picture appears(the version number and successful prompt indicates successful configuration)
{% endhint %}

![](https://2469997499-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LlpfTEtpw-XHjloYx-t%2F-Llul9Kdh1NJmVlnXuGd%2F-Llum1fgCUk0Unm0jlVo%2F3.png?alt=media\&token=6a788601-ff5f-4f61-8862-7b179074e1c2)

{% hint style="info" %}
If you are concurrent with an existing version number and it appears with a red error message, you may need to manually configure the environment variable for node.js, or reinstall node.js and check **Add to PATH**
{% endhint %}


---

# 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://hexoscript.gitbook.io/hexo-script/shi-yong-bu-zhou/testnode-de-shi-yong.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.
