Downloading '@pnpm/win-x64' from 'npmjs.com' registry...
Extracting downloaded '7.1.1' archive...
Running setup...
C:\Users\eakuefner\AppData\Local\Temp\tmpF3B0.tmp.extracted\package\pnpm.exe
Copying pnpm CLI from C:\Users\eakuefner\AppData\Local\Temp\tmpF3B0.tmp.extracted\package\pnpm.exe to C:\Users\eakuefner\AppData\Local\pnpm\pnpm.exe
ERROR Command failed with exit code 1: C:\Windows\system32\reg.EXE query HKEY_CURRENT_USER\Environment /v PNPM_HOME
ERROR: The system was unable to find the specified registry key or value.
pnpm version: 7.1.1
Code to reproduce the issue: iwr https://get.pnpm.io/install.ps1 -useb | iex
Expected behavior: pnpm is installed for the current user
Actual behavior: Fails with error
Additional information:
node -vprints: This is a totally fresh setup without node.