MongoDB setup on Mac Catalina
I am following a tutorial on setting up MongoDB on my system. When I try to make a directory by using a command as under:
sudo mkdir /data/db
inside of /usr/local/ bin, I get the following error:
mkdir: /data: No such file or directory
However this was possible on the older version of Mac OS I had. How should I go about solving this issue? Kindly help.
MacBook Pro 16", macOS 10.15