After looking at the Johnny Five information, I am left to ask - WHY? WHY replace the Arduino IDE with a terminal-based command line interface? Certainly this is the antithesis of making Arduino easy to learn and use for newcomers. I believe this is what is causing the OP's confusion, as the Johnny Five system has removed him from the normal Arduino learning system.