Skip to main content
Install Vestauth globally using npm:
This installs the vestauth CLI and makes it available system-wide.
Version: The latest version is published to npmjs.com/package/vestauthCheck your installed version: vestauth --version

Local Installation

For project-specific installations:
Then use it programmatically:

curl Install Script

Install Vestauth with a single curl command:
This downloads and installs the latest binary for your platform.
1

Run the install script

The script automatically detects your OS and architecture.
2

Verify installation

You should see the installed version number.
3

Initialize an agent

This creates your first agent identity.
The curl installer adds Vestauth to your PATH automatically. You may need to restart your shell.

GitHub Releases

Download pre-built binaries directly from GitHub releases:

macOS / Linux

This automatically downloads the correct binary for your system.

Windows

Download the Windows executable from the releases page:
1

Download the executable

Choose your architecture:
Most modern Windows systems use amd64 (64-bit).
2

Extract the ZIP file

Unzip the downloaded file to extract vestauth.exe.
3

Add to PATH (optional)

Move vestauth.exe to a directory in your PATH, or add its location to your PATH environment variable.Alternatively, run it directly:
4

Initialize an agent

This creates your agent identity in .env.
Windows Defender may flag the executable. This is a false positive common with unsigned executables. You can safely allow it.

Verify Installation

After installing via any method, verify Vestauth is working:

Platform Support

Vestauth is tested and supported on:

Installation Stats

npm Downloads

npm downloadsView on npmjs.com

GitHub Releases

Troubleshooting

If vestauth is not found after npm installation:
  1. Check if global npm bin is in your PATH:
  2. Add npm global bin to PATH:
  3. Or use npx:
If you get permission errors when installing globally:
  1. Use sudo (not recommended):
  2. Or configure npm to use a different directory:
Windows Defender may flag vestauth.exe as potentially harmful:
  1. This is a false positive due to the executable being unsigned
  2. Click “More info” → “Run anyway” to allow it
  3. Alternatively, add an exception in Windows Defender
The source code is open and can be verified at github.com/vestauth/vestauth
If the curl install script fails:
  1. Check your internet connection
  2. Verify curl is installed: curl --version
  3. Try downloading manually from GitHub releases
  4. Check for proxy or firewall issues
You can also inspect the install script:

Updating Vestauth

Keep Vestauth up to date:

Next Steps

Now that Vestauth is installed:

Quickstart Guide

Create your first agent and make authenticated requests

CLI Reference

Learn all available Vestauth commands

Use as a Library

Integrate Vestauth into your code

Build Tools

Create authenticated APIs for agents