# Aveth Code installer for Windows: irm https://code.aveth.tech/install.ps1 | iex # Installs the aveth command with npm (needs Node.js 18 or newer), after checking the package's published checksum. $ErrorActionPreference = "Stop" $base = "https://code.aveth.tech/download" Write-Host "" Write-Host " Aveth Code: memory for coding agents" -ForegroundColor Cyan Write-Host "" $node = Get-Command node -ErrorAction SilentlyContinue if (-not $node) { Write-Host " Aveth needs Node.js 18 or newer. Install it from https://nodejs.org (or: winget install OpenJS.NodeJS.LTS)," -ForegroundColor Yellow Write-Host " then open a new PowerShell and run this again." return } $major = [int]((& node -p "process.versions.node.split('.')[0]").Trim()) if ($major -lt 18) { Write-Host " Node.js $(& node -v) is too old; Aveth needs 18 or newer." -ForegroundColor Yellow return } $tmp = Join-Path $env:TEMP "aveth.tgz" Write-Host " Downloading..." Invoke-WebRequest -Uri "$base/aveth.tgz" -OutFile $tmp -UseBasicParsing $expected = (Invoke-WebRequest -Uri "$base/aveth.tgz.sha256" -UseBasicParsing).Content.Trim().Split(" ")[0].ToLower() $actual = (Get-FileHash -Algorithm SHA256 $tmp).Hash.ToLower() if ($expected -ne $actual) { Remove-Item $tmp -Force throw "The download does not match its published checksum. Nothing was installed." } & npm install -g $tmp Remove-Item $tmp -Force Write-Host "" Write-Host " Installed." -ForegroundColor Green Write-Host "" Write-Host " Next, in a repository:" Write-Host " aveth init read the history" Write-Host " aveth why : why is this line here?" Write-Host " aveth connect claude give Claude Code this memory" Write-Host ""