Setup Gitbook on MacOS
Install gitbook CLI
Somehow the gitbook-cli doesn’t support the latest npm. To properly install gitbook-cli, follow the steps below:
- Install nvm
- Use
nvm install 9
, which givesnpm
version5.60
- Install
gitbook-cli
using:npm install -g gitbook-cli
- Start enjoying
gitbook
CLI.gitbook install
gitbook build
gitbook serve
Use Gitbook
Follow this Content Configuration to configure a githook repository.
Comments