$ npm install jshint -g
And was then greeted with a command not found error:
$ jshint zsh: correct jslint to slit [nyae]? n zsh: command not found: jslint
Turns out I needed to add the npm bin directory to my PATH, as it didn’t get added there automatically since I installed zsh after node/npm.