

Standard installations of Node.js on Windows require local administrator rights. the PowerShell Tutorial and PowerShell One-Liners sites may also be helpful. You will very likely need to be quite familiar with command prompts as you learn about Node-RED and Node.js and it will be worth while reading some of the Microsoft articles on PowerShell. "elevated") command prompt unless specifically instructed to. Note : You should not use an administrative (a.k.a. You should receive back output that looks similar to: Using Powershell: node -version npm -version Once installed, open a command prompt and run the following command to ensure Node.js and npm are installed correctly. After installation completes, close any open command prompts and re-open to ensure new environment variables Installing Node.js requires local administrator rights if you are not a localĪdministrator, you will be prompted for an administrator password on install. It will offer you the best version for your system. It is recommended to use PowerShell on all newer versions of Windows as this gives you access to commands and folder names that are closer to those of Linux/Mac.ĭownload the latest LTS version of Node.js from the official Node.js home page. Where this is used, it refers to either the Windows cmd or PowerShell terminal shells. You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.Note : Some of the following instructions mention the "command prompt". You’ll need to have Node >= 14 on your local development machine (but it’s not required on the server). They are preconfigured and hidden so that you can focus on the code.Ĭreate a project, and you’re good to go. You don’t need to install or configure tools like webpack or Babel. When you’re ready to deploy to production, create a minified bundle with npm run build. ( npx comes with npm 5.2+ and higher, see instructions for older npm versions) If you've previously installed create-react-app globally via npm install -g create-react-app, we recommend you uninstall the package using npm uninstall -g create-react-app or yarn global remove create-react-app to ensure that npx always uses the latest version.
