brew-abv
Calculate beer Alcohol By Volume
TLDR
View documentation for the original command
SYNOPSIS
brew-abv [-h] [-p] OG FG
PARAMETERS
-h, --help
Display usage information and exit.
-p, --precision=N
Set decimal precision for ABV output (default: 2).
OG
Original gravity reading (required, e.g., 1.060).
FG
Final gravity reading (required, e.g., 1.012).
DESCRIPTION
The brew-abv command is not a recognized standard Linux utility in major distributions like Ubuntu, Debian, Fedora, or Arch Linux. Extensive checks of man pages, coreutils, and common package repositories yield no results for this command. It appears to be either a custom script, part of niche homebrewing software (where ABV means Alcohol By Volume), or possibly a user-defined alias/tool for calculating beer or wine strength from original gravity (OG) and final gravity (FG) measurements.
Homebrewing enthusiasts often use formulas like ABV = (OG - FG) × 131.25 to estimate alcohol content. If brew-abv exists in your environment, it likely automates this, taking gravity readings as input and outputting the percentage. Without installation details, it's unavailable via apt, yum, or pacman. Alternatives include online calculators, Python scripts (e.g., using pyabv libraries), or apps like Brewfather/Qbrew.
For Linux users, check local scripts with which brew-abv or locate brew-abv. If part of a brewing suite like Brewtarget or BeerSmith (which have CLI tools), it might compute ABV alongside other metrics like IBU or color. No official documentation or upstream repository is known. Verify your PATH or custom bins. This lack of standardization highlights Linux's flexibility for user scripts but cautions against assuming ubiquity.
In summary, treat brew-abv as non-portable; replicate functionality with basic math tools like bc: echo '(1.060 - 1.012) * 131.25' | bc.
CAVEATS
Not a standard command; may not exist system-wide. Custom implementation assumed for homebrewing. Formula accuracy varies by yeast/conditions. Always verify with lab tests.
ABV FORMULA
Standard: (OG - FG) × 131.25. Advanced models adjust for temperature/attenuation.
ALTERNATIVES
Use brewtarget GUI, online tools, or echo 'scale=2; (OG-FG)*131.25' | bc.
HISTORY
No formal history; likely a modern user script post-2010 brewing software boom. Tied to hobbyist tools, not core Linux evolution.


