First install the dependencies by typing on the terminal:
npm install
Then, open a Machina Bridge on your machine, and connect to it:
node index.js
You can type word on the terminal send small programs to the robot: up, down, vertical line, etc.