# Ultimate JavaScript Part 1: Fundamentals, 6- JavaScript in Node

**URL:** <https://forum.codewithmosh.com/t/ultimate-javascript-part-1-fundamentals-6-javascript-in-node/24505>\
**Category:** JavaScript\
**Created:** [January 9, 2024, 11:23pm UTC](https://forum.codewithmosh.com/t/ultimate-javascript-part-1-fundamentals-6-javascript-in-node/24505 "2024-01-09T23:23:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobertFSheker](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@RobertFSheker](https://forum.codewithmosh.com/u/RobertFSheker)\
**Post date:** [January 9, 2024, 11:23pm UTC](https://forum.codewithmosh.com/t/ultimate-javascript-part-1-fundamentals-6-javascript-in-node/24505/1 "2024-01-09T23:23:53Z")

</div>

I don’t understand how he runs the script in node in this lesson. He says to open command prompt if you’re using windows, which I did. Then to open the folder he mentioned earlier, I can only assume he means the folder we drug into the workspace in VSC. Then he enters a line of js-basic $node index.js

I don’t know if I’m supposed to do this in command prompt, node, VSC Terminal window, but in all the places I attempt to run that command (js-basic $node index.js) I get errors.

---

<div class="post-metadata">

**Author:** ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)\
**Post date:** [January 13, 2024, 9:55am UTC](https://forum.codewithmosh.com/t/ultimate-javascript-part-1-fundamentals-6-javascript-in-node/24505/2 "2024-01-13T09:55:00Z")

</div>

dont include the $ - the command is just `node index.js` be sure there is a file called index.js in the directory where you are running this command from
