newMacWhoDis
Setting up on a new Mac.
1) install Xcode command line tools
xcode-select --install
Xcode is an integrated development environment (IDE) for macOS
2) Install a Package Manager - I am using Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Homebrew installs the stuff (sofware) you need that Apple didn’t.
Once installed be sure to update.
brew update
Install some useful software:
Git - a free and open source distributed version control system
wget - Wget (formerly Geturl) is a computer program that retrieves content from web servers. It supports downloading via HTTP, HTTPS, and FTP.
imagemagick - to create, edit, compose, or convert bitmap images.
jq - jq is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.
openssl - OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.
function install_or_upgrade { brew ls | grep $1 > /dev/null; if (($? == 0)); then brew upgrade $1; else brew install $1; fi } install_or_upgrade "git" install_or_upgrade "wget" install_or_upgrade "imagemagick" install_or_upgrade "jq" install_or_upgrade "openssl"
3) Fancy the terminal by installing a new shell - Oh my zsh
I’m using the shell named zsh instead of bash, the default one.
What is a shell?
In computing, a shell is a user interface for access to an operating system's services. In general, operating system shells use either a command-line interface (CLI) or graphical user interface (GUI), depending on a computer's role and particular operation. It is named a shell because it is the outermost layer around the operating system kernel.
CLI shells require the user to be familiar with commands and their calling syntax, and to understand concepts about the shell-specific scripting language (for example bash).
Graphical shells place a low burden on beginning computer users, and are characterized as being easy to use. Since they also come with certain disadvantages, most GUI-enabled operating systems also provide CLI shells.
Install oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"












