Socket
Book a DemoInstallSign in
Socket

@ecp.eth/rivet

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecp.eth/rivet

Rivet is a Foundry version manager that ensures the correct Foundry version is installed

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
3
Created
Source

Rivet

Rivet is a Foundry version manager that ensures the correct Foundry version is installed and used based on a .foundry-version file in your project root.

Homebrew installed foundry is not supported: Foundry installed via homebrew does not support version pinning, please uninstall it before using rivet.

What it does:

  • Version detection: Searches for a .foundry-version file in the current directory and parent directories
  • Installation: Installs Foundry if it's not present
  • Version management: Updates Foundry to the target version if there's a mismatch
  • Command proxy: Acts as a wrapper for Foundry commands (forge, cast, anvil, chisel)

Usage

Install Rivet as dev dependency in your project, then prefix the foundry commands with rivet:

{
  "scripts": {
    "build": "rivet forge build --sizes --skip test"
  }
}

FAQs

Package last updated on 02 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts