Các lệnh để cài đặt Code Notes không cần thao tác, gỡ bỏ và phát hiện phần mềm trong công cụ triển khai. Chỉ những lệnh chắc chắn mới được hiển thị: lấy từ manifest hoặc từ tham số mặc định được tài liệu hóa của công nghệ bộ cài.
Hướng dẫn liên quan: Tham số cài đặt im lặng: MSI, NSIS, Inno Setup · Gỡ cài đặt phần mềm bằng registry hoặc PowerShell
Bằng winget
PowerShell
winget install --id lauthieb.code-notes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id lauthieb.code-notes -e --silentwinget uninstall --id lauthieb.code-notes -e --silentTheo bộ cài
64-bit · EXE (NSIS) · Người dùng hiện tại
Cài đặt im lặng
code-notes-1.2.4.exe /SThư mục tùy chọn
code-notes-1.2.4.exe /S /D=C:\Apps\code-notesPowerShell: tải về, kiểm tra, cài đặt
Tải tệp chính thức, kiểm tra mã SHA256 rồi cài đặt im lặng.
install-code-notes.ps1
$url = 'https://github.com/lauthieb/code-notes/releases/download/1.2.4/code-notes-1.2.4.exe'
$sha256 = '14371CBDD7E406D6946E2E7912739FAE032DBE4E40B83A9ED8B6A9D93DC2F567'
$file = Join-Path $env:TEMP 'code-notes-1.2.4.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait