![]() ![]() If you get this message back: 'node' is not recognized as an internal or external command, operable program or batch file. If everything goes as it should, you are ready for the next step. Without getting too deep into command line semantics, most (all?) programs that you will interact with on the command line can handle the -v flag, so you can almost always check that a tool/program you installed to work with on the command line works by following this format: -v In fact, this is a common technique for checking most programs on the command line. This will return a similar looking number, like: 6.14.8 ![]() To check these do the same thing you did for node: npm -v I will explain what it does in a bit, but for now, just check that NPM is installed and it’s PATH is correct. As the command line is concerned you will most likely be interacting with NPM way more than with Node. #Quick node server setup installWhen you install Node, you also install Node Package Manager, commonly referred to as simply NPM. This should return a version number like this: v14.15.0 Once you have NodeJS downloaded and installed, you will want to make sure that Node is in fact installed properly by running the following command in a terminal: node -v Step 2: Make sure Node and NPM are installed and their PATHs defined ![]() This section title is technically misleading, you actually downloaded the NodeJS installer, and once that is done downloading, you should open it and follow the directions to install Node. If you are following this tutorial, then I would recommend you download the LTS (Long-Term Support) version, that is the stable version that most people use and you will have a better time getting help if something breaks. Step 1: Go to the NodeJS website and download NodeJS ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |