Skip to content

Commit

Permalink
Update Install-NodeJS.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
RaviAkshintala authored Nov 12, 2024
1 parent 905fabd commit 195a22f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions images/windows/scripts/build/Install-NodeJS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ $cachePath = 'C:\npm\cache'
New-Item -Path $prefixPath -Force -ItemType Directory
New-Item -Path $cachePath -Force -ItemType Directory



$defaultVersion = (Get-ToolsetContent).node.default
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/tj/n/master/bin/n' -OutFile "$env:USERPROFILE\n"
& "$env:USERPROFILE\n" $defaultVersion

Expand Down

0 comments on commit 195a22f

Please sign in to comment.