Sunday, November 9, 2014

How to install GitBook toolchain on Windows

1. Install Node.js from here:
http://nodejs.org/download/

2. If you want to generate books in eBook format (PDF, ePub or MOBI), then install Calibre from here:
http://calibre-ebook.com/download

3. Open NodeJS folder:
C:\Program Files\nodejs\

4. If you are behind a company proxy, set Node.js to use it:
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080

5. Install gitbook package:
npm install -g gitbook

6. If you want to generate books in eBook format (PDF, ePub or MOBI), then install ebook-convert package:
npm install -g ebook-convert

Related post: How to build a GitBook on Windows.

No comments:

Post a Comment