# 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 %}

![完成图](https://2469997499-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LlpfTEtpw-XHjloYx-t%2F-LluplfJDETDQ1wIHNxR%2F-LlupnWqOZVWU6iL3uK9%2F5.png?alt=media\&token=30690ad9-b4fb-4240-ad96-1ea7686d888c)

{% 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.

![](https://2469997499-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LlpfTEtpw-XHjloYx-t%2F-LluplfJDETDQ1wIHNxR%2F-LlurN1aku8F_ZGR35Av%2F7.png?alt=media\&token=c9b96207-b162-43de-839b-1837d1241566)
