Install pcre2 on Mac OSX

About the App

  • App name: pcre2
  • App description: Perl compatible regular expressions library with a new API
  • App website:

Install the App

  1. Press Command+Space and type Terminal and press enter/return key.
  2. Run in Terminal app:
    ruby -e "$(curl -fsSL" 2> /dev/null
    and press enter/return key. If you are prompted to enter your Mac's user password, enter it (when you type it, you wont see it on your screen/ but it would accept the input; this is to ensure no one can see your password on your screen while you type it. So just type password and press enter, even if you dont see it on your screen). Then wait for the command to finish.
  3. Run:
    brew install pcre2

Done! You can now use pcre2.

Leave a Reply

Your email address will not be published. Required fields are marked *