Node.js 22 ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id OpenJS.NodeJS.22 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenJS.NodeJS.22 -e --silentwinget uninstall --id OpenJS.NodeJS.22 -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i node-v22.23.4-x64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i node-v22.23.4-x64.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {DB301453-81CD-4694-8A78-746617513B00} /qn /norestart- MSI product code
- {DB301453-81CD-4694-8A78-746617513B00}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DB301453-81CD-4694-8A78-746617513B00}
ARM64 · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i node-v22.23.4-arm64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i node-v22.23.4-arm64.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {55FB5612-8E88-42EA-9B29-94F71178FDCD} /qn /norestart- MSI product code
- {55FB5612-8E88-42EA-9B29-94F71178FDCD}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{55FB5612-8E88-42EA-9B29-94F71178FDCD}
32-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i node-v22.23.4-x86.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i node-v22.23.4-x86.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {D5308DE4-524D-4BA9-8814-A10A79A07A91} /qn /norestart- MSI product code
- {D5308DE4-524D-4BA9-8814-A10A79A07A91}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{D5308DE4-524D-4BA9-8814-A10A79A07A91}
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-node-js-22.ps1
$url = 'https://nodejs.org/dist/v22.23.4/node-v22.23.4-x64.msi'
$sha256 = 'CA9303D3A12E8BEC6DE829FCB7812FC776930E0CE5C030328A24984EF928427E'
$file = Join-Path $env:TEMP 'node-v22.23.4-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-22.ps1
$url = 'https://nodejs.org/dist/v22.23.4/node-v22.23.4-arm64.msi'
$sha256 = '49EDBB15812C13EFA061C2C76B06944425F3711454845E78B625A8E865A45327'
$file = Join-Path $env:TEMP 'node-v22.23.4-arm64.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-22.ps1
$url = 'https://nodejs.org/dist/v22.23.4/node-v22.23.4-x86.msi'
$sha256 = 'C2A76D76EDA52B7930B51FD490264C2FE34A094C04AE721BB71893F3FD6CD1D0'
$file = Join-Path $env:TEMP 'node-v22.23.4-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