Installing json-server

json-server is a node module, and hence can be installed globally by typing the following at the command prompt:

npm install json-server -g

If you are using OSX or Linux, use sudo at the front of the command. This will install json-server that can be started from the command line from any folder on your computer.