I ran npm install -g generator-keystone from the root directory in OSX but got the following errors:
npm WARN deprecated firstname.lastname@example.org: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated email@example.com: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
-bash: yo: command not found
npm update -g minimatch
npm update -g CSSselect
npm update -g CSSwhat
The message you're getting are warnings, not errors. You can ignore them.
It looks like you may have only installed the Keystone generator for Yeoman, but didn't install the
yeoman package itself:
$ npm i yeoman -g
That should provide the
yo executable (which generally gets installed in