How to update SPFx Yeoman generator to the latest version

The evolution of SPFx is stunning and each version adds new features that make the life of all of us easier when we think about extending SharePoint or even Microsoft Teams.

If you have SPFx already installed and are thinking about to start a new project using the latest version of the framework first, you must check if the latest version of the generator is installed on your system.

The process to update SPFx is straightforward and only requires 3 simple steps as explained in this article.

Update SPFx generator

  1. Open the command line and run the command npm -g outdated
    Update SPFx generator package
  2. To install the latest version run the command npm install @microsoft/generator-sharepoint@latest -g
  3. Run the command yo @microsoft/sharepoint to create a new project and follow the wizard

Technology vector created by stories – www.freepik.com


No comments yet

Leave a Reply


Web developer focused on SharePoint branding, blogger, tech enthusiast. Travelling and sports are my addictions, knowledge and success are my daily motivations.