windows系統先安裝hexo

來源:互聯網
上載者:User

標籤:nbsp   html   作者   ext   out   服務   分享   ast   href   

一。安裝node.js

為:https://nodejs.org/en/可以根據自己需要下載對於的版本。

開啟cmd,輸入指令

 

node -v


 

若出現這樣的結果則說明安裝好了。

二。安裝hexo

開啟git bash,輸入下面指令:

 

npm install -g hexo


這個過程比較慢,所以需要耐心等候。當出現下面這些的時候,那就基本安裝好了。

 

 

如果要在確認一下的話輸入:hexo

接下來我們需要對hexo進行初始化,只有初始化成功之後才能啟動hexo服務:

 

 hexo init

 

這個時候他會在我們當前檔案夾產生一下基本檔案。

 

然後在啟動服務:

 

hexo server

 

如果出現下面這樣,就說明你的hexo已經裝好了,服務也已經啟動了。

 



註:

王亨

部落格園原文連結:http://www.cnblogs.com/wheng/p/6939992.html

csdn原文連結:http://blog.csdn.net/wzgl__wh/article/details/72857944

 

windows系統先安裝hexo

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.