As a minimal mistake Jekyll theme user, I use the following commands to set up and use npm, gem, and bundler for macOS.

npm

Installation / Update

  • Install npm
    $ brew install node
    

    Note: Type node -v and npm -v to validate the installation.

Usage

  • Install packages (based on package.json)
    $ sudo npm install
    
  • Run scripts
    $ sudo npm run build:js
    

Gem and Bundler

Installation

Leave a comment