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 givesnpmversion5.60 - Install
gitbook-cliusing:npm install -g gitbook-cli - Start enjoying
gitbookCLI.gitbook installgitbook buildgitbook serve
Use Gitbook
Follow this Content Configuration to configure a githook repository.
Comments