Windows x64
待工作人员实机验收
554,808,370 bytes · ZIP · r5
SHA-256 65de496bc9b65f567adbc264e0808411a4eb282f7789dbd7d8bc210fc00afd10
等 ZIP 下载完成后,再解压到路径较短的新目录。下方的安装命令会自动校验下载。
独立发行 · 第 3 代 · r5
Apple Silicon 已实测启动。Windows x64 和 Intel Mac 实机验收待完成。
待工作人员实机验收
554,808,370 bytes · ZIP · r5
SHA-256 65de496bc9b65f567adbc264e0808411a4eb282f7789dbd7d8bc210fc00afd10
等 ZIP 下载完成后,再解压到路径较短的新目录。下方的安装命令会自动校验下载。
已在 Apple Silicon 实机验证启动
547,411,143 bytes · TAR.GZ · r5
SHA-256 39f7532e155711fe42331e194f0515a85b03d0c24b861a7c79bed4e7eabf6e77
待工作人员实机验收
548,693,925 bytes · TAR.GZ · r5
SHA-256 e94ad0ca0f048c59e35b80ba573e59f45422dc165605f2a65e62636daf93c61a
各包内含 Node.js 24.22.2 与 npm。解压前请核对外层包的 SHA-256。原 Ed25519 签名覆盖内层 CLI 文件。
基础 Mac 包要求 macOS 13.5 或更新版本。Intel Mac 的托管 Ladybug 代码分析要求 macOS 15.5,Earshot 要求 macOS 14.0。通用 MCP 和 FalkorDB 有各自的运行时依赖。
Windows 强制只读外部引擎缺少系统隔离后端时会拒绝启动。
沿用原版 0.8.5 内核与终端界面,支持浏览器登录、自动化和网页预览。支持 Windows 标准 npm Node CMD 引擎入口,改进 Unicode 和长文本语音传递,补齐 WAV 播放,并降低完整签名校验的内存占用。
把对应系统的整段命令粘贴到当前终端。命令会校验包大小和 SHA-256,再解压到主目录下的新文件夹。安装成功后输入 koder 启动。
经典款 0.8.6 仅在当前终端中启用。
在当前 Mac 终端的 zsh 或 bash 中直接粘贴整段命令。命令会选择与你的 Mac 匹配的包。
# Paste this complete block into macOS Terminal (zsh or bash).
# Activates koder in this terminal only; no profile, global PATH or old install changes.
function koder086_install() {
local koder_url koder_sha koder_bytes koder_folder koder_target koder_file koder_os koder_major koder_minor
[ "$(uname -s)" = Darwin ] || { printf '%s\n' 'This command is for macOS.'; return 1; }
koder_os=$(sw_vers -productVersion) || return 1
koder_major=${koder_os%%.*}; koder_minor=${koder_os#*.}; koder_minor=${koder_minor%%.*}
if [ "$koder_major" -lt 13 ] || { [ "$koder_major" -eq 13 ] && [ "$koder_minor" -lt 5 ]; }; then
printf '%s\n' 'This package requires macOS 13.5 or newer.'; return 1
fi
case "$(uname -m)" in
arm64)
koder_folder='koder-0.8.6-macos-arm64'
koder_url='https://kodermodule.com/packages/cli/cli-0.8.6-original-g3/39f7532e155711fe/koder-cli-original-0.8.6-g3-macos-arm64-node24-r5.tar.gz'
koder_sha='39f7532e155711fe42331e194f0515a85b03d0c24b861a7c79bed4e7eabf6e77'
koder_bytes='547411143' ;;
x86_64)
koder_folder='koder-0.8.6-macos-x64'
koder_url='https://kodermodule.com/packages/cli/cli-0.8.6-original-g3/e94ad0ca0f048c59/koder-cli-original-0.8.6-g3-macos-x64-node24-r5.tar.gz'
koder_sha='e94ad0ca0f048c59e35b80ba573e59f45422dc165605f2a65e62636daf93c61a'
koder_bytes='548693925' ;;
*) printf '%s\n' 'Unsupported Mac architecture.'; return 1 ;;
esac
koder_target=$(mktemp -d "${KODER086_INSTALL_PARENT:-$HOME}/Koder086.XXXXXXXX") || return 1
koder_file="$koder_target/package.tar.gz"
printf 'Downloading to %s\n' "$koder_target"
curl --fail --location --proto '=https' --proto-redir '=https' --tlsv1.2 \
--connect-timeout 20 --max-time 1800 --retry 2 --output "$koder_file" "$koder_url" || {
rm -f "$koder_file"; printf '%s\n' 'Download failed. Please retry with a stable connection.'; return 1;
}
[ "$(wc -c < "$koder_file" | tr -d '[:space:]')" = "$koder_bytes" ] && \
[ "$(shasum -a 256 "$koder_file" | cut -d ' ' -f 1)" = "$koder_sha" ] || {
rm -f "$koder_file"; printf '%s\n' 'Download verification failed. The archive was not extracted.'; return 1;
}
printf '%s\n' 'Verified. Extracting the complete package; this can take several minutes.'
tar -xpf "$koder_file" -C "$koder_target" || { printf 'Extraction failed in %s\n' "$koder_target"; return 1; }
"$koder_target/$koder_folder/koder" --version || { printf 'Startup check failed in %s\n' "$koder_target"; return 1; }
rm -f "$koder_file" || return 1
KODER086_ENTRY="$koder_target/$koder_folder/koder"
# Selection is confined to this shell. Other terminals retain their existing command.
unalias koder 2>/dev/null || true
function koder() { "$KODER086_ENTRY" "$@"; }
printf '\nInstalled. Start with: koder\nDirectory: %s\n' "$koder_target/$koder_folder"
printf '%s\n' 'In a new terminal, cd to that directory and paste:'
printf '%s\n' 'KODER086_ENTRY="$PWD/koder"; unalias koder 2>/dev/null; function koder() { "$KODER086_ENTRY" "$@"; }'
}
koder086_install
重开终端后,先进入安装时打印的目录,再粘贴以下命令重新启用。
KODER086_ENTRY="$PWD/koder"
unalias koder 2>/dev/null || true
function koder() { "$KODER086_ENTRY" "$@"; }
koder
在当前 Windows x64 PowerShell 会话中直接粘贴整段命令。
# Paste this complete block into Windows x64 PowerShell.
# The koder alias belongs to this PowerShell session; existing installations are retained.
& {
function Assert-KoderStartup {
param($Entry)
$PSNativeCommandUseErrorActionPreference = $false
if (-not (Test-Path -LiteralPath $Entry -PathType Leaf)) { throw 'Startup entry is missing.' }
$ErrorActionPreference = 'Continue'
$global:LASTEXITCODE = $null
& $Entry --version
if ($null -eq $global:LASTEXITCODE -or $global:LASTEXITCODE -ne 0) {
throw 'Startup check failed; the koder alias was not changed.'
}
}
function Save-KoderArchive {
param($Uri,$OutFile,[long]$ExpectedBytes,$ExpectedSha)
$ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue'
if (Test-Path -LiteralPath $OutFile) { throw 'Download destination already exists.' }
$previousProtocol = [Net.ServicePointManager]::SecurityProtocol
try {
[Net.ServicePointManager]::SecurityProtocol = $previousProtocol -bor [Net.SecurityProtocolType]::Tls12
for ($attempt = 1; $attempt -le 3; $attempt++) {
try {
Invoke-WebRequest -UseBasicParsing -Uri $Uri -OutFile $OutFile -TimeoutSec 1800
break
} catch {
if (Test-Path -LiteralPath $OutFile) { Remove-Item -LiteralPath $OutFile -Force }
if ($attempt -eq 3) { throw }
Write-Host ('Download interrupted; retrying (' + $attempt + '/2).')
Start-Sleep -Seconds (2 * $attempt)
}
}
if ((Get-Item -LiteralPath $OutFile).Length -ne $ExpectedBytes -or
(Get-FileHash -Algorithm SHA256 -LiteralPath $OutFile).Hash -ne $ExpectedSha) {
Remove-Item -LiteralPath $OutFile -Force
throw 'Download verification failed. The archive was not extracted.'
}
} finally {
[Net.ServicePointManager]::SecurityProtocol = $previousProtocol
}
}
$ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $false
if ([Environment]::OSVersion.Platform -ne [PlatformID]::Win32NT -or $env:PROCESSOR_ARCHITECTURE -ne 'AMD64') {
throw 'Use Windows x64 PowerShell for this package.'
}
$koderUrl = 'https://kodermodule.com/packages/cli/cli-0.8.6-original-g3/65de496bc9b65f56/koder-cli-original-0.8.6-g3-windows-x64-node24-r5.zip'
$koderSha = '65de496bc9b65f567adbc264e0808411a4eb282f7789dbd7d8bc210fc00afd10'
$koderTarget = Join-Path $HOME ('Koder086-' + [Guid]::NewGuid().ToString('N').Substring(0,8))
if ($koderTarget.Length -gt 70) {
throw 'The installation path is too long for legacy Windows extraction. Download the ZIP and extract it into a shorter owned local directory.'
}
$null = New-Item -ItemType Directory -Path $koderTarget -ErrorAction Stop
$koderArchive = Join-Path $koderTarget 'package.zip'
Write-Host ('Downloading to ' + $koderTarget)
Save-KoderArchive -Uri $koderUrl -OutFile $koderArchive -ExpectedBytes 554808370 -ExpectedSha $koderSha
Write-Host 'Verified. Extracting the complete package; this can take several minutes.'
try { Expand-Archive -LiteralPath $koderArchive -DestinationPath $koderTarget }
catch { throw ('Extraction failed in ' + $koderTarget + ': ' + $_.Exception.Message) }
$koderEntry = Join-Path $koderTarget 'koder-0.8.6-windows-x64\koder.cmd'
Assert-KoderStartup -Entry $koderEntry
Remove-Item -LiteralPath $koderArchive -Force
Set-Alias -Name koder -Value $koderEntry -Scope Global -ErrorAction Stop
Write-Host 'Installed. Start with: koder'
Write-Host ('Directory: ' + (Split-Path -Parent $koderEntry))
Write-Host 'In a new terminal, cd to that directory and paste: Set-Alias koder (Join-Path $PWD "koder.cmd")'
}
重开终端后,先进入安装时打印的目录,再粘贴以下命令重新启用。
Set-Alias koder (Join-Path $PWD 'koder.cmd')
koder
493,293,162 bytes
SHA-256 86f28a72fb82c8725636456ab68176cf828c07c5d9d69fc1614a228e13ae12de
POSIX CI 通用包需要单独准备 Node.js。