Node.js is a JavaScript (ECMAScript) runtime. It allows you to run JavaScript code outside of your web browser. Node.js, and it's alternatives, are widely used across the web development space.
Node.js itself, however, is usually not provided through your system's official software repositories. Even if it's provided, it's usually still more viable to use tools like Fast Node Manager (fnm) as it allows you to quickly switch between Node.js versions.
Node.js provides an official installation guide on their website.
Blueprint requires Node version v20.x or later, though using the latest LTS release (which is v24.x at the time of writing this guide) is more viable long-term.
We'll use Fast Node Manager (fnm) to quickly install the v24.x version of Node.js.
# Download and install fnm
curl -o- https://fnm.vercel.app/install | bash
# Download and install Node.js v24.x using fnm
fnm install 24
# Returns your node version
node -v
yarn package manager for PterodactylBlueprint and Pterodactyl require the yarn package manager to be used for managing node modules. You can install yarn like so:
# Install yarn
npm i yarn -g
# Returns your yarn version
yarn -v
Now you can use yarn to manage Pterodactyl's node modules.
You can use Fast Node Manager (fnm) to change the active version, like so:
# Use Node.js v24.x
fnm use 24
# Use Node.js v22.x
fnm use 22
Then you can check your Node.js version with the following command:
# Returns your node version
node -v
Finally, you can remove Node.js versions from your machine through Fast Node Manager (fnm) with the following command:
# Uninstalls Node.js v24.x
fnm uninstall 24
[ ^ ^]
[- - ]
[ # #]
[> < ]
[ / /]
[* * ]