crs-toolchain

command module
v2.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

README

crs-toolchain

Regression Tests OpenSSF Scorecard

The CRS developer's utility belt. The documentation lives at coreruleset.org.

Installation

Homebrew (macOS and Linux)

crs-toolchain can be installed on macOS and Linux via Homebrew using the CRS tap:

brew tap coreruleset/tap
brew install crs-toolchain

To upgrade to the latest version:

brew upgrade crs-toolchain
Linux

Download the latest release archive for your architecture from the releases page, then extract and install the binary:

# Replace <version> and <arch> with the appropriate values (e.g. 1.0.0 and amd64)
curl -sSL https://github.com/coreruleset/crs-toolchain/releases/download/v<version>/crs-toolchain_<version>_linux_<arch>.tar.gz | tar -xz crs-toolchain
sudo mv crs-toolchain /usr/local/bin/

Alternatively, .deb and .rpm packages are available on the releases page:

# Debian/Ubuntu (.deb)
sudo dpkg -i crs-toolchain_<version>_linux_<arch>.deb

# RHEL/Fedora (.rpm)
sudo rpm -i crs-toolchain_<version>_linux_<arch>.rpm
Install with Go

If you have Go 1.19+ installed, you can install crs-toolchain directly:

go install github.com/coreruleset/crs-toolchain/v2@latest

Make sure your Go bin directory (typically ~/go/bin) is on your PATH.

Self-Update

Once crs-toolchain is installed (via any method), you can update to the latest version using the built-in self-update command:

crs-toolchain util self-update

This will automatically download and replace the current binary with the latest release for your platform.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
chore
cmd
internal
parser
Package parser implements the parsing logic to obtain the sequence of inputs ready for processing.
Package parser implements the parsing logic to obtain the sequence of inputs ready for processing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL