Setup Gitbook on MacOS

less than 1 minute read

Install gitbook CLI

Somehow the gitbook-cli doesn’t support the latest npm. To properly install gitbook-cli, follow the steps below:

  1. Install nvm
  2. Use nvm install 9, which gives npm version 5.60
  3. Install gitbook-cli using: npm install -g gitbook-cli
  4. Start enjoying gitbook CLI.
    • gitbook install
    • gitbook build
    • gitbook serve

Use Gitbook

Follow this Content Configuration to configure a githook repository.

References

Updated:

Comments