Install Node.js
Mac
The easiest way is with Homebrew:
brew install node
If you don't have Homebrew, install it first — it's the standard package manager for Mac and you'll use it for FFmpeg too.
Alternatively, download the installer from nodejs.org.
Windows
winget install OpenJS.NodeJS
Or download the installer from nodejs.org.
Linux
sudo apt install nodejs npm
Or use nvm if you need to manage multiple Node versions.
Verify
node -v
You should see a version number like v22.0.0.