npm is a package manager for JavaScript. A package manager keeps things coordinated between versions of software components. You will also be using another package manager called Composer but it works to keep versions coordinated in another part of your application that uses ‘php’.
Node JS is the JavaScript run time environment that you will install as well. Between these two you will have JavaScript available to work with your website application.
Here is the standard way that these are installed. If you are working with traditional ‘metal’ servers to host your application that information will guide you. And, regardless, it will be a good reference document.
ARMTEC, Inc. tends to the Container approach to hosting web services for consistency across deployment environments. We aim for a Lando local development environment and combine it with a host that runs connected, coordinated containers. The Drupal CI/CD Base Project uses the Platform.sh service as the coordinated host.
Since Lando on your local machine is where you are going to do your development, what you want to accomplish is to “inject” the tools you will be needing inside your container. Here is how you need to do that in Lando. In addition to getting these into your local container you need to tell it you want to use the Node JS service like this
If you are going to use the Bootstrap theme and leverage the extraordinary capabilities of doing so with the SASS front-end development option, you will want to also include the additional tooling noted for Gulp and potentially YARN.