From 03063bd644d70bfa95082e4511a8d7950251aebb Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Thu, 14 Mar 2024 14:44:38 +0100 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 29e32d3..e087b6e 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,19 @@ Using nix-shell: nix-shell -p cmake bison flex ``` +On macOS, using [Homebrew](https://brew.sh/): + +```bash +brew install cmake bison flex +``` + +Ensure the versions of `bison` and `flex` installed via Homebrew take precedence over the macOS defaults by modifying your $PATH environment variable as follows: + +```bash +export PATH="/opt/homebrew/opt/flex/bin:/opt/homebrew/opt/bison/bin:$PATH" +``` + + ### Building and Installing ```bash