> For the complete documentation index, see [llms.txt](https://hexoscript.gitbook.io/hexo-script/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hexoscript.gitbook.io/hexo-script/shi-yong-bu-zhou/yi-jian-an-zhuang-hexo-bo-ke.md).

# Install the hexo blog in one click

## hexo\_win

You need to right-click git bash in the directory where the install.sh script is stored and run the following command:

```bash
source install.sh hexo_win
```

{% hint style="info" %}
&#x20;Tip: you can go and have a cappuccino. In about two minutes, the blog will be automatically installed.
{% endhint %}

![完成图](/files/-LlupnWqOZVWU6iL3uK9)

{% hint style="success" %}
When you see 'Please run hexo s to check it out!You can now run hexo s and check your blog
{% endhint %}

```
cd hexoblog
hexo s
```

{% hint style="info" %}
Note: CD to the hexoblog directory first!Just execute the above command
{% endhint %}

You can see that an address appears :<http://localhost:4000>

> Go to <http://localhost:4000> in your browser and you can preview locally.

![](/files/-LlurN1aku8F_ZGR35Av)


---

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

```
GET https://hexoscript.gitbook.io/hexo-script/shi-yong-bu-zhou/yi-jian-an-zhuang-hexo-bo-ke.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.
