From fe8e991beb35a5524ccfbe7ca7176cd2641afc23 Mon Sep 17 00:00:00 2001 From: Antony Prince <47826916+antoprince001@users.noreply.github.com> Date: Mon, 17 Apr 2023 17:08:47 +0530 Subject: [PATCH] Add brew installation step to readme #410 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 6d4bb54d..9e38c9a1 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ bash -c "$(curl --silent https://thoughtworks.github.io/talisman/scripts/install bash -c "$(curl --silent https://thoughtworks.github.io/talisman/scripts/install.bash)" -- pre-push ``` + 2. If you do not have TALISMAN\_HOME set up in your `$PATH`, you will be asked an appropriate place to set it up. Choose the option number where you set the profile source on your machine. @@ -101,6 +102,15 @@ If you choose to set the `$PATH` later, please export TALISMAN\_HOME=$HOME/.tali - you can set SEARCH_ROOT environment variable with the path of the base directory before executing the installation so you don't need to input it manually during the installation +#### Alternative installation using brew + +Talisman can also be installed using linuxbrew in Linux and homebrew in macOS by running the following command in terminal + + ``` +brew install talisman +``` + + ### Handling existing hooks Installation of Talisman globally does not clobber pre-existing hooks on repositories.
If the installation script finds any existing hooks, it will only indicate so on the console.