Node.js 22 लाई कुनै प्रश्न नसोधी इन्स्टल गर्ने, फेरि हटाउने र डिप्लोइमेन्ट टुलले पहिचान गर्ने कमान्डहरू। कुनै कमान्ड पक्का भएमा मात्र देखाइन्छ: म्यानिफेस्टबाट, वा इन्स्टलर प्रविधिको दस्तावेज गरिएको डिफल्टबाट।
सम्बन्धित गाइड: साइलेन्ट इन्स्टल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री वा 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 --silentइन्स्टलर अनुसार
६४-बिट · MSI · सबै प्रयोगकर्ता
साइलेन्ट इन्स्टल
msiexec /i node-v22.23.4-x64.msi /qn /norestartलग फाइल लेख्नुहोस्
msiexec /i node-v22.23.4-x64.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"अनइन्स्टल
msiexec /x {DB301453-81CD-4694-8A78-746617513B00} /qn /norestart- MSI प्रोडक्ट कोड
- {DB301453-81CD-4694-8A78-746617513B00}
- अनइन्स्टल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DB301453-81CD-4694-8A78-746617513B00}
ARM64 · MSI · सबै प्रयोगकर्ता
साइलेन्ट इन्स्टल
msiexec /i node-v22.23.4-arm64.msi /qn /norestartलग फाइल लेख्नुहोस्
msiexec /i node-v22.23.4-arm64.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"अनइन्स्टल
msiexec /x {55FB5612-8E88-42EA-9B29-94F71178FDCD} /qn /norestart- MSI प्रोडक्ट कोड
- {55FB5612-8E88-42EA-9B29-94F71178FDCD}
- अनइन्स्टल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{55FB5612-8E88-42EA-9B29-94F71178FDCD}
३२-बिट · MSI · सबै प्रयोगकर्ता
साइलेन्ट इन्स्टल
msiexec /i node-v22.23.4-x86.msi /qn /norestartलग फाइल लेख्नुहोस्
msiexec /i node-v22.23.4-x86.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"अनइन्स्टल
msiexec /x {D5308DE4-524D-4BA9-8814-A10A79A07A91} /qn /norestart- MSI प्रोडक्ट कोड
- {D5308DE4-524D-4BA9-8814-A10A79A07A91}
- अनइन्स्टल रजिस्ट्री की
- 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