Source: https://keypaste.com/developers/install/
Last updated: 2026-12-01

# 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.

## macOS

Apple Silicon.

Terminal window

```
curl -fLO https://dl.keypaste.com/v1.0.0/keypaste-1.0.0-osx-arm64.tar.gzcurl -fLO https://dl.keypaste.com/v1.0.0/keypaste-1.0.0-osx-arm64.tar.gz.sha256shasum -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](https://github.com/dotnet/core/blob/main/release-notes/10.0/supported-os.md); no run backs this floor. Intel Macs need a [source build](#building-from-source). `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
```

## Linux

x64 and arm64.

Terminal window

```
curl -fLO https://dl.keypaste.com/v1.0.0/keypaste-1.0.0-linux-x64.tar.gzcurl -fLO https://dl.keypaste.com/v1.0.0/keypaste-1.0.0-linux-x64.tar.gz.sha256sha256sum -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](#building-from-source).

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
```

## Windows

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](https://github.com/dotnet/core/blob/main/release-notes/10.0/supported-os.md); 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

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](https://keypaste.com/developers/hook/) has the lines and what they do.

## Checking the download

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](https://github.com/notinferred/keypaste/blob/main/SECURITY.md#verifying-a-release) shows how to check it, and [THREATS](https://github.com/notinferred/keypaste/blob/main/THREATS.md) T-21 explains the trust boundary. If you run `v0.1.0` or `v0.2.0`, replace it; [SECURITY](https://github.com/notinferred/keypaste/blob/main/SECURITY.md) lists their defects.

## Building from source

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`](https://github.com/notinferred/keypaste/blob/main/global.json):

Terminal window

```
git clone --recurse-submodules https://github.com/notinferred/keypastecd keypastedotnet 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](https://github.com/notinferred/keypaste-keepasslib/blob/ae0f7d97683522cd47466c360df60a0d02337bd2/UPSTREAM.md) vendored from KeePass 2.61.
