I need to easily install packages based on some predefined variables.
So i set
and all packages are installed in
/usr/local/npm/$NPMDIR literally instead
most likely you need brackets around your variables:
There is currently no discussion for this recipe.
This recipe can be found in it's original form on Stack Over Flow.