cd into the project directory and run:
npm run install-cli
Note: If you don't already have NPM installed, you can get it here: https://nodejs.org/en/download/
Once you've installed the app, simply type hackernews -n [number of posts] to log the desired number of posts in the console. Number of posts defaults to 30.