- Install XCode from App Store.
 - Open XCode and agree to terms and conditions.
 
xcode-select --install
| #!/bin/bash | |
| # | |
| # putiodl - put.io cli downloader | |
| # | |
| # Copyright (C) 2013 Neal <[email protected]> | |
| # | |
| # Dependencies: jq, curl, wget | |
| # | |
| # Make sure ~/.putiodl exists and contains your put.io OAuth token. | |
| # | 
| #!/bin/bash | |
| # Usage: slackpost <token> <channel> <message> | |
| # Enter the name of your slack host here - the thing that appears in your URL: | |
| # https://slackhost.slack.com/ | |
| slackhost=PUT_YOUR_HOST_HERE | |
| token=$1 | 
Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).
docker run -it --rm --privileged --pid=host justincormack/nsenter1
more info: https://github.com/justincormack/nsenter1
| #!/bin/bash | |
| set -e | |
| echo "🚀 Starting full Mac setup..." | |
| # ---------------------------- | |
| # 1. Install Homebrew first | |
| # ---------------------------- | |
| if ! command -v brew &> /dev/null; then |