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


I've been working with Microsoft Technologies over the last ten years, mainly focused on creating collaboration and productivity solutions that drive the adoption of Microsoft Modern Workplace.

%d bloggers like this: