For Windows users, in order to add JavaScript or node j s to Sublime Text, what you need to do is to copy this line of code that I am going to provide you and create a new here you need to get to tools and then build system and then new build system. And it's gonna generate this file for you, you need to copy these two lines of codes and paste them there instead of this and make sure that the location where you have installed No, no GS is pointing to this location, you need to get to C and then Program Files and then not j s, and then not dot e x e m make sure that this file exists there, because if not, it will not go it's not gonna run. So you need to make sure that you have installed node correctly as we explained before, and once You did that, oh, you need to save this file, and change this to JavaScript java script, and click on safe.
And since I have created that before, I'm not gonna save again. And if you click on Save, you need to get back to tools, and then build system. And you should find the name of the file that you have created. And we have named it JavaScript, you need to check this in order to run JavaScript. And then once you select this one, create a new file. So I'm going to create a new file here, view file, and I'm going to save it as test dot j s. And then inside my desktop, and I'm going to say save.
I'm going to click on save and then I'm going to create this line of code console dot log and then you need to add it name for example, hello, and then our semicolon and save, and then run your program by clicking on on tools, and then build. And it's going to run here, it's going to print hello on the screen, or you can also click on control, and B and it's going to do the same job. So make sure that it runs and it's it prints, whatever you add here. And if it does, that means you have successfully installed JavaScript inside your Sublime Text.