Node.js 16ን ያለ ጥያቄ ለመጫን፣ መልሶ ለማራገፍ እና ከማሰማሪያ መሣሪያዎች ለማወቅ የሚያገለግሉ ትዕዛዞች። ትዕዛዝ የሚታየው እርግጠኛ ሲሆን ብቻ ነው፦ ከማኒፌስቱ ወይም ከጫኚው ቴክኖሎጂ የተመዘገበ ነባሪ።
ተዛማጅ መመሪያ: የጸጥ ያለ ጭነት መቀየሪያዎች፦ MSI፣ NSIS፣ Inno Setup · ፕሮግራምን በመዝገብ (Registry) ወይም በPowerShell ማራገፍ
በwinget
PowerShell
winget install --id OpenJS.NodeJS.16 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenJS.NodeJS.16 -e --silentwinget uninstall --id OpenJS.NodeJS.16 -e --silentበጫኚ
64-bit · MSI · ሁሉም ተጠቃሚዎች
ጸጥ ያለ ጭነት
msiexec /i node-v16.20.2-x64.msi /qn /norestartሎግ ይጻፉ
msiexec /i node-v16.20.2-x64.msi /qn /norestart /l*v "%TEMP%\node-js-16-install.log"ማራገፍ
msiexec /x {B574737B-3A23-4038-BBA2-DA4D608E1A9A} /qn /norestart- የMSI ምርት ኮድ
- {B574737B-3A23-4038-BBA2-DA4D608E1A9A}
- የUninstall መዝገብ ቁልፍ
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B574737B-3A23-4038-BBA2-DA4D608E1A9A}
- የመጫኛ አቃፊ
- %ProgramFiles%\nodejs
64-bit · ZIP
መጫን አያስፈልገውም (portable)
32-bit · MSI · ሁሉም ተጠቃሚዎች
ጸጥ ያለ ጭነት
msiexec /i node-v16.20.2-x86.msi /qn /norestartሎግ ይጻፉ
msiexec /i node-v16.20.2-x86.msi /qn /norestart /l*v "%TEMP%\node-js-16-install.log"ማራገፍ
msiexec /x {4911387B-59DD-4550-8FEB-AE0467428B94} /qn /norestart- የMSI ምርት ኮድ
- {4911387B-59DD-4550-8FEB-AE0467428B94}
- የUninstall መዝገብ ቁልፍ
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4911387B-59DD-4550-8FEB-AE0467428B94}
- የመጫኛ አቃፊ
- %ProgramFiles(x86)%\nodejs
32-bit · ZIP
መጫን አያስፈልገውም (portable)
PowerShell፦ አውርድ፣ አረጋግጥ፣ ጫን
ይፋዊውን ፋይል ያወርዳል፣ SHA256ን ያረጋግጣል እና በጸጥታ ይጭነዋል።
install-node-js-16.ps1
$url = 'https://nodejs.org/dist/v16.20.2/node-v16.20.2-x64.msi'
$sha256 = '8F78F8CEA29743F9BFD4544B9C01106929E62E5211F019DD1F0A4B02916683D2'
$file = Join-Path $env:TEMP 'node-v16.20.2-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-node-js-16.ps1
$url = 'https://nodejs.org/dist/v16.20.2/node-v16.20.2-x86.msi'
$sha256 = '5CDABF8C2D117DA96F5238930DF6E06D18D30F2B21C1DD91F84FB1098422B74A'
$file = Join-Path $env:TEMP 'node-v16.20.2-x86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait