View the source on GitHub

vet

Don't just run it — vet it.

Stop blindly piping to bash. vet lets you inspect remote scripts for changes, run them through a linter, and require your explicit approval before they can execute.

The Problem

We've all seen this pattern for installing software:

# You're blindly trusting the remote script.
curl -sSL https://example.com/install.sh | bash

This is dangerous. The script could be malicious, the server could be compromised, or a transient network error could result in executing a partial script.

The Solution

vet wraps this process in a secure, interactive workflow:

# The new, safer way.
vet https://example.com/install.sh

Installation

Homebrew (macOS/Linux)

The easiest and recommended way to install vet is via Homebrew.

# First, tap the official repository
brew tap vet-run/vet

# Now, install the formula
brew install vet-run

Manual Installation

The Safe Way

This is the two-step "Download, then Review" process that vet automates.

  1. Download the installer:

    Choose one of the following sources. The first is the official project domain, and the second is a direct link to the GitHub release asset.

    Option A: Official project domain

    curl -o install_vet.sh https://getvet.sh/install.sh

    Option B: Direct GitHub Release Link

    curl -L -o install_vet.sh https://github.com/vet-run/vet/releases/latest/download/install.sh
  2. Review the installer's code. Open it in a text editor or use less to ensure it's not doing anything suspicious. It's a simple script that downloads the correct vet script and moves it to /usr/local/bin.

    less install_vet.sh
  3. Run the installer you just vetted:

    sh install_vet.sh

Congratulations! You just manually performed the process that vet will now automate for you.

The "Trusting" One-Liner (The Anti-Pattern)

In your terminal, run:

# Don't actually do this. That's the whole point.
curl -sL https://getvet.sh/install.sh | sh