Install PHP 7.3 + xdebug on MacOS Catalina (with homebrew) Homebrew have relocated “php” formulas and renamed “php71” into “php@7.1” in 2018 making it quite difficult to and also. Use Homebrew to install telnet with the following command: brew install telnet. Hit Return and let Homebrew download and install Telnet to the Mac. When installation has complete, you can run Telnet as usual: telnet server-or-ip-address. One simple way to test that Telnet is working properly after installation is to connect to the goofy Star. Install PostgreSQL using Homebrew. In Terminal run the following command to install PostgreSQL on Mac using Homebrew. $ brew install postgres. We can check the version of PostgreSQL using the psql command. $ psql -version psql (PostgreSQL) 11.5. How to install GCC 9.2 on macOS Catalina.If you need to install the Command Line Tools or Homebrew check my previous video tutorial:https://youtu.be/hOx4jwjl0Y. 2.4 On macOS 10.5 Catalina or later, the default shell is zsh. Where does Homebrew install packages on Mac; Tags: brew environment variable install mac maven.
- Mac Install Homebrew Catalina Download
- Mac Install Homebrew Catalina 2019
- Install Homebrew Mac Catalina
wget is a robust command line application for downloading URL-specified resources. It was designed to work excellently even when connections are poor. Its unique feature, compared to curl which ships with macOS, for example, is that it is non-interactive so it can run in the background.
There are 2 ways to install wget: via Xcode or via Homebrew and I will cover both methods since not everyone uses Xcode or Homebrew.
Installing Wget via Xcode
Installing wget on Mac via Xcode requires you to build the tool from source and the steps are the same on all a Mac versions:
First, install Xcodevia iTunes and then install Xcode command line tools with the command:
Download wget source code using curl:

Extract and navigate into the folder and run the configure command:
Make and test wget:
If you get an error when you run the configure command then run it with an SSL flag like so:
Remember to delete the now-unnecessary files after the installation is complete.
Installing Wget via Homebrew
Homebrew is a package manager for OS X that makes installing and managing applications a lot easier for Mac users.
There are alternatives like Fink and MacPorts but I prefer using Homebrew. Don’t worry if you don’t have it installed, I’ve got you covered:
Install Homebrew using the following command, it will also install Xcode’s command line tools if they aren’t already installed:
Next, install wget command-line download client.
How to Use Wget on Mac
As long as a file or directory’s URL is publicly accessible, you can download it and files can be downloaded singly or recursively when downloading directories.
Downloading a single file
The syntax is simple. the wget command, -X to indicate the file path (unless you want to save the downloaded content to your current working directory), and the public link.
Downloading a directory
The -e robots=off flag tells wget to ignore restrictions in the robots.txt file which is good because it prevents abridged downloads. -r (or --recursive) and -np (or --no-parent) tells wget to follow links within the directory that you’ve specified. Voila!
While that is all that you need to know to use wget for downloading files, there are many other commands that’ll enable you to control its usage and you can access them within your terminal in wget’s man page or online.
Have you got any questions to ask or suggestions to make? Feel free to drop your thoughts in the comments section below and don’t forget to share.
14th Feb 2020I had to reconfigure my Macbook after sending it for repairs. During the reconfiguration period, I noticed the instructions I linked to in “Setting up a local MongoDB connection” were outdated.
Here’s an updated version on how to install MongoDB on a Mac.
There are a few steps:
First, you install Homebrew. If you’re curious about what Homebrew is, read this article.
Second, find the MongoDB tap.
Mac Install Homebrew Catalina Download
Third, install MongoDB.
MongoDB is now installed on your computer.
Preparations (Before MacOS Catalina)
Before you can use MongoDB, you need to create a /data/db folder on your computer to use MongoDB. You can create this folder with the following command:
You also need to give permissions to use it:
Now you can follow the rest of the article to set up your MongoDB connection.
Preparations (MacOS Catalina onwards)
Apple created a new Volume in Catalina for security purposes. If you’re on Catalina, you need to create the /data/db folder in System/Volumes/Data.
Use this command:
Mac Install Homebrew Catalina 2019
Then, use this command to give permissions:
Using MongoDB
In the past, I can run the mongod command to start MongoDB. This no longer works out for the box from MongoDB v4.2.3 onwards.
The best way to start MongoDB now is via brew services.
Starting MongoDB
Use this command:
MongoDB will start as a background service. Here’s what you’ll see:
You can use start instead of run. start will start MongoDB automatically when you login into your Macbook. I prefer run since I don’t want MongoDB to be running all the time.
Checking if MongoDB is running
Use this command:
Homebrew will list all running services. If MongoDB is running, mongodb-community will have a status set to started.
The Mongo Shell
If MongoDB is running, you should be able to access the Mongo shell with the mongo command.
Stopping MongoDB
Use this command:
Homebrew will stop MongoDB and let you know.
Aliases to make these easier
It’s a chore typing brew services run mongodb-community every time I want to start MongoDB.
I created some aliases to make things easier for me. Here are my aliases:
What’s next?
Install Homebrew Mac Catalina
If you haven’t already, you should learn how to set up a local MongoDB connection.
If you enjoyed this article, please tell a friend about it! Share it on Twitter. If you spot a typo, I’d appreciate if you can correct it on GitHub. Thank you!