Skip to content

Install keypaste

v1.0.0 is the keypaste command-line tool, which is also the bridge that connects AI tools, as keypaste mcp. Each block below downloads from https://dl.keypaste.com/v1.0.0/, checks the checksum and extracts the binary. It needs no .NET runtime.

Apple Silicon.

Terminal window
curl -fLO https://dl.keypaste.com/v1.0.0/keypaste-1.0.0-osx-arm64.tar.gz
curl -fLO https://dl.keypaste.com/v1.0.0/keypaste-1.0.0-osx-arm64.tar.gz.sha256
shasum -a 256 -c keypaste-1.0.0-osx-arm64.tar.gz.sha256 &&
tar -xzf keypaste-1.0.0-osx-arm64.tar.gz &&
mkdir -p ~/.local/bin && mv keypaste libargon2.1.dylib ~/.local/bin/

macOS 14 or later. The floor follows .NET 10 support; no run backs this floor. Intel Macs need a source build. libargon2.1.dylib goes beside keypaste because it derives your vault’s key faster; without it the key is the same and takes longer.

A Mac’s PATH leaves out ~/.local/bin, so a terminal can’t find keypaste until you add it once and open a new terminal:

Terminal window
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zprofile

x64 and arm64.

Terminal window
curl -fLO https://dl.keypaste.com/v1.0.0/keypaste-1.0.0-linux-x64.tar.gz
curl -fLO https://dl.keypaste.com/v1.0.0/keypaste-1.0.0-linux-x64.tar.gz.sha256
sha256sum -c keypaste-1.0.0-linux-x64.tar.gz.sha256 &&
tar -xzf keypaste-1.0.0-linux-x64.tar.gz &&
mkdir -p ~/.local/bin && mv keypaste ~/.local/bin/

For arm64, substitute linux-arm64 in all three filenames. Both are built against glibc 2.35. The x64 binary is checked on a clean Debian 12 container; the equivalent container check is not implemented for arm64. Alpine and other musl distributions need a source build.

Many distributions put ~/.local/bin on PATH at your next login once the folder exists. If a terminal still can’t find keypaste, add it and log in again:

Terminal window
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.profile

x64.

Terminal window
$a = "keypaste-1.0.0-win-x64.zip"
Invoke-WebRequest -OutFile $a "https://dl.keypaste.com/v1.0.0/$a"
Invoke-WebRequest -OutFile "$a.sha256" "https://dl.keypaste.com/v1.0.0/$a.sha256"
$want = (Get-Content "$a.sha256" -Raw).Split()[0]
if ((Get-FileHash $a -Algorithm SHA256).Hash -eq $want) { Expand-Archive $a -DestinationPath . } else { Write-Error "checksum mismatch: delete $a and download it again" }

Windows 10 1809 or later. The floor follows .NET 10 support; no run backs this floor. Put the extracted files in a directory on your PATH, keeping argon2.dll beside keypaste.exe.

Loading a folder’s variables into your terminal

Section titled “Loading a folder’s variables into your terminal”

keypaste has a shell hook for zsh, bash, fish and PowerShell. keypaste hook zsh (or bash, fish, pwsh) prints the one line to add to your shell’s startup file; keypaste never edits it. The hook’s page has the lines and what they do.

On Windows, keypaste.exe is signed with keypaste’s Authenticode identity. On macOS, keypaste is signed with keypaste’s Developer ID and notarized, and Gatekeeper looks its ticket up online. The Linux binaries are unsigned. The checksum catches a damaged download; it cannot prove who published it. Each asset carries a build attestation: SECURITY shows how to check it, and THREATS T-21 explains the trust boundary. If you run v0.1.0 or v0.2.0, replace it; SECURITY lists their defects.

Build from source to inspect the code you run, or on Intel Macs, musl distributions such as Alpine, and Windows on ARM. With the .NET SDK pinned in global.json:

Terminal window
git clone --recurse-submodules https://github.com/notinferred/keypaste
cd keypaste
dotnet build keypaste.slnx -c Release

keypaste lands in artifacts/bin/Keypaste.Cli/release/ (.exe on Windows). Built this way, it is also the bridge, as keypaste mcp. The vault is KDBX 4 with AES-256 and Argon2d, written through KeePassLib vendored from KeePass 2.61.