# How to get the path of nodejs in Laragon

• Hi,

In order to make npm in Laragon truely portable, I am trying to customize npm cache folder to \the\path\to\nodejs\node_cache. However, it seems there's no way to get the path which I can put in the .npmrc file. The config in .npmrc file only accept absolute path or path with system environment variables like \${VARIABLE}\node_cache. If I enter the absolute path then the config will no effect when I change the path of Laragon.

I wonder if there is a way to get the path to current selected nodejs in Laragon user.cmd?

Regards.

• Hi,