How to install NodeJS LTS on Windows as a local user (without admin rights)

前端 未结 12 768
情深已故
情深已故 2020-12-07 09:21

I\'m using Windows as a simple user (I don\'t have any admin rights) and want to install NodeJS LTS.

On the download site I have the choice to download only the bina

12条回答
  •  情深已故
    2020-12-07 09:39

    Just download the windows binary (NOT the msi installer) from here, unzip the file, then add the location of the node.exe file to system path. This means that after unzipping the downloaded binary, you get a folder, then you have to open that folder itself. That is the path you should add to system path.

    To add to system path, do this, thanks to Abdel Raoof

    Open Run with dialog (Win + R). Copy and paste this line in your command line

    rundll32 sysdm.cpl,EditEnvironmentVariables.

    In User variables for user_name (the top window) path of your environment variables dialog add the path to your unzipped node download. To check for successful installation

    node -v
    
    npm -v
    

提交回复
热议问题