Run the following command to see if everything is installed fine. Once this command executes without error(if you get any error, post in comment and we will help you out) Running this script requires password, so when it asks for the password, provide your user passowrd and press "Enter"
HOMEBREW FOR WINDOWS INSTALL
To install Homebrew, run the following command, The above command will install command line tools in your computer, or if you already have that installed, it will show the message "error: command line tools are already installed". To install Command Line Tools, open your terminal(Press Command Spacebar and type in "Terminal" to open the Terminal App) and run the following command. If you have XCode installed on your local environment then you do not need to do anything and can directly jump to the next step. To install and run Homebrew on macOS we need to install Command Line Tools on our mac. Homebrew installs the packages inside this directory, or at times, it installs the packages in their own directory and then symlinks(create soft link) their files into /usr/local/ directoryīelwo we have a step by step guide to install Homebrew on your computer/laptop Whenever we install a new software package or tool, it should be installed in the /usr/local directory, as this is the directory where user specific software packages are installed.
![homebrew for windows homebrew for windows](https://miro.medium.com/max/1456/1*XGVKcg-3rhjcnrHXc-kyug.jpeg)
You can install all the UNIX Tools on your macOS using Homebrew.Not only this, you can even use Homebrew to install other softwares like VLC, Google Chrome etc.Install software packages required for setting up local development environment in your macOS.Now to run/execute these scripts you will have to install python in your local computer, again, how will you do that? If you are a mac user, you can use Homebrew.
HOMEBREW FOR WINDOWS FOR MAC OS
Homebrew is a software package manager for Mac OS which can be used to install required packages, libraries etc to setup your local development requirements.Īnother example, if you decide to learn Python, how will you do that? You will use online tutorials to learn the basics of the language and then practice by creating small programs/scripts in python.
![homebrew for windows homebrew for windows](https://i.ytimg.com/vi/a4J5MTDXC1E/maxresdefault.jpg)
Also during development, you will have to install these packages in your local computer too. For example, if you develop a web application in Java using Jax-RS API like: Jersey, RESTeasy etc for REST services, then to run this software you must install Java and the other libraries/APIs used on the server. When we develop a production software(like, eCommerce website, or an SaaS) it's never just one programming language that satisfies all the requirements, and we end up using various libraries and software packages, which we must install on our server for the software to run.