Test to see if you have npm installed. Type in the terminal the following: npm init If you have it, follow the question prompts. Otherwise, you'll need to install it.
After you've followed the questions, run: npm install socket.io express --save
Then run: bower install jquery --save
And follow the question prompts.