Don't install NodeJS from Snap Store on Ubuntu
Snap Store is usually the easiest way of installing software on Ubuntu and the closest option available for someone looking for a brew alternative for Linux.
However, the Snap Store distribution of Node is one we need to be cautious about as it can lead to a multitude of issues.
For example, none of the npx commands will work. This is because the Snap Store distribution of Node doesn't have the necessary permissions to install npm packages globally.
The recommended way to install Node for Ubuntu users is to use a nodesource LTS distribution instead:
https://github.com/nodesource/distributions#installation-instructions