Gitbook Install & Setup 安裝與環境設定 / Windows

1. install git

  • 到官方網站下載合適的版本
https://git-scm.com/download/win
  • 安裝完成,打開「Git Bash」應用程式

    • 驗證 Git 是不是有安裝起來
which git

git --version
  • 看到類似的訊息,安裝成功
    • which git = > /mingw64/bin/git
    • git --version => git version 2.14.1.windows.1

2. install requirements of gitbooks (node.js)

  • Local Installation

    • Requirements: these two requirements:
      • NodeJS (v4.0.0 and above is recommended)
      • Windows, Linux, Unix, or Mac OS X
  • download node.js
    • check node.js
node -v
  • check npm
 npm -v

3.安裝 gitbook & check

npm uninstall -g gitbook

npm install gitbook-cli -g

gitbook --version

Reference:

-Installation and Setup · GitBook Toolchain Documentation
-Gitbook 安裝 Cowman's Gitbook


Reference:

results matching ""

    No results matching ""