This is an article about setting up your SharePoint Framework development environment on your machines. Let us see what we have to do.

Follow the steps and just run them as stated.

How to install

  1. Open Command Prompt on your machine.
  2. Run the following command

    npm install -g yo gulp

    Node.js

  3. Once the execution is completed, run the following code to install the SharePoint Framework Yeoman generator globally -
    npm install -g @microsoft/generator-sharepoint

    Node.js

  4. Once the above execution is completed, there might be scenarios where you want to switch between the different projects created using different versions of the SharePoint Framework Yeoman generator. In that case, you can install the generator locally as a development dependency in the project folder by executing the following command.

    npm install @microsoft/generator-sharepoint --save-dev

    Node.js

The above installation will take some time. Once all the above installations are completed, we will be ready with the new playground development.

That's it. We will learn new amazing features of SharePoint in my upcoming articles. Until then, keep learning!