I have installed Homebrew via the Terminal with help of this line of code /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" on my Mac Os and it has been downloaded to /usr/local folder.
How can I install it to specified folder for example my Home Folder /Users/Petrov?