DEV

The SPFx Install Script Grows Up

The SPFx Install Script Grows Up

Back in December I introduced a Node.js script that automates SPFx environment setup—pick a version or an alias like SPO or SP2019, and it works out the right Node.js, Yeoman, generator, and task runner versions by querying the npm registry directly instead of relying on a hardcoded matrix (older releases keep a small fallback table, more on that below).

Then I used it every day on real client work, which turned out to be the best possible test suite. What happens when a tool you’re proud of meets real life? It broke in ways I didn’t anticipate, I rebuilt parts I thought were already solid, and it picked up a handful of features I only discovered I needed once I was living in it.

Join me at NACS 2026 - Oct 4-6, 2026

Join me at NACS 2026 - Oct 4-6, 2026

I’m excited to announce I’ll be speaking at The North American Collaboration Summit (NACS) 2026! This is one of the largest Microsoft 365 and collaboration community conferences in North America, and I’d love to see you there.

Automating SharePoint Framework Environment Setup: A Dynamic Installation Script

Automating SharePoint Framework Environment Setup: A Dynamic Installation Script

If you’ve been working with SharePoint Framework (SPFx) for any length of time, you know the drill: look up the Node.js version compatibility, install the right LTS version, manually install Yeoman, the SPFx generator, and the correct task runner (Gulp or Heft, depending on the version). For modern SPFx versions, this might take 5 minutes if you know what you’re doing. For older versions or platform-specific deployments like SharePoint 2019 or Subscription Edition? Much longer.

What if I told you there’s a way to do all of this in under a minute, completely automated, for any SPFx version—past, present, or future?