diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/powershell/bootstrap.ps1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/powershell/bootstrap.ps1 b/.config/powershell/bootstrap.ps1 index df0af1c..601fcc6 100644 --- a/.config/powershell/bootstrap.ps1 +++ b/.config/powershell/bootstrap.ps1 @@ -52,6 +52,11 @@ Update-EnvironmentVariables Write-Host "Profile registry paths, environment variables, and user profile directory have been updated. Please reboot the system." +# Function to check if NVM is installed +function Test-NVMInstalled { + $nvmPath = "$env:USERPROFILE\AppData\Roaming\nvm\nvm.exe" + return Test-Path -Path $nvmPath +} # Install NVM if not installed Write-Host "Configuring NVM" |
