location json-server yarn code example Example: install json server with yarn npm install -g json-server