How to get the path of nodejs in Laragon


  • | 392 points

    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.


  • | 129 points

    Hi,

    "Laragon location"/bin/nodejs/your version

    All laragon application files are located at bin folder..


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.