try
npm install restfulapi-cli
bash $ npm install -g restfulapi-cli
Create the a restfulapi router:
bash $ restfulapi [routername]