

To create a new SPFx app, follow the steps described at Build your first SharePoint client-side web part (Hello World part 1). Here are the commands to run in a PowerShell console: First, we switch to Node.js v10, confirm, (check the current version), and install the tools with npm. To install the required tools yo with the sharepoint generator and gulp and for SharePoint development, we follow the steps at Set up your SharePoint Framework development environment. That´s the basic installation of Node.js and npm. We switch between versions with nvm use, e.g.

Now we check the installed versions: nvm ls.For the latest Node.js version, we can run To see the latest Node.js versions we can check, or simply run.Or, we can use choco: choco install nvm -y We install nvm from Node Version Manager (nvm) for Windows by Corey Butler.Alternatively, when we have chocolatey installed, we can run.nvm finds that version and allows to use it with nvm. When we have a later version, such as 14.5, already installed, it´s usually not required to uninstall this version. If we already have installed other Node.js versions, it´s a good idea to remove existing versions in the Windows Apps & Features settings.Alternatively, there´s a good description at Set up your Node.js development environment directly on Windows. We follow the steps here to install these Node.js frameworks on our machine. Web apps using one of the latest Angular framework versions require a later Node version, e.g.

All other versions of Node.js are not supported with SharePoint Framework development.
