Skip to main content

Setup Node.js

You can safely skip this step if you have already Node.js v20+ installed on your development environment.Why Node.js? Most of the components in the Bl

Tip

You can safely skip this step if you have already Node.js v20+ installed on your development environment.

Why Node.js?

Most of the components in the Blocklet toolbox are built with Node.js, so you need to install Node.js to use them.

Please ensure that the version of Node.js is v20 and above.

To find out if you have Node.js installed and check the installed version, run the following command.

javascript
node -v

Install Node.js

Node version managers are recommended way to install Node.js because they allow you to install and switch between multiple versions of Node.js on your system, so you can test your blocklets on multiple versions of Node.js to ensure they work for users on different versions.

For MACOS or Linux users, please refer to the documentation of the following version managers for instructions on how to install Node.js:

For more available node version managers please checkout this comparison post.

For Windows users, please stay tuned well we are testing support of the blocklet toolkit on the Windows platform.