Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 907 Bytes

Install and configure Node.js.md

File metadata and controls

53 lines (37 loc) · 907 Bytes
created modified
2024-12-09 17:26:41 UTC
2024-12-12 11:45:42 UTC
cls

# Install and configure Node.js

# Install Node.js

net use \\EXT-FS01\IPC$ /USER:EXTRANET\jjameson-admin

Note

When prompted, type the password to connect to the file share.

$setupPath = "\\TT-FS01\Products\node.js\node-v12.13.1-x64.msi"

Start-Process -FilePath $setupPath -Wait

Important

Wait for the installation to complete. Restart PowerShell for the change to PATH environment variable to take effect.

exit

# Change NPM file locations to avoid issues with redirected folders

notepad "C:\Program Files\nodejs\node_modules\npm\npmrc"

File - C:\Program Files\nodejs\node_modules\npm\npmrc

;prefix=${APPDATA}\npm
prefix=${LOCALAPPDATA}\npm
cache=${LOCALAPPDATA}\npm-cache