DEV

The SPFx Install Script Grows Up

DRAFT 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 figures out the right Node.js, Yeoman, generator, and task runner versions by querying the npm registry directly instead of relying on a hardcoded matrix.

That script has been in daily use across real client work ever since, which turned out to be the best possible test suite. It broke in ways I didn’t anticipate, got rebuilt in places I thought were already solid, and 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?