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