- Getting the available installers Get the list of available installers for macOS, since newer versions we can get the installer from command line
softwareupdate --list-full-installers- Download the desired installer Once we have or we see the list of installers, lets select the one we want to use and download it to be used for creating the booteable
softwareupdate --fetch-full-installer --full-installer-version 26.3.1for when this gist was updated, this is the latest version of macOS
- Create the Booteable USB Using the tool of macOS let's create a booteable usb to be used durent the formatting process
sudo /Applications/Install\ macOS\ Tahoe.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolumeOnce the macbook is formatted and the installer has been completed, let's go to prepare everything.
This gist was created based on this web page.
-
Download Xcode by executing
xcode-select --installand select Get Xcode option. -
Install the standalone Command Line Tools by executing
xcode-select --installand selectInstalloption. -
Install Homebrew by executing the next command.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -
Install git
brew install git -
Configure git
git config --global user.name "username" git config --global user.email "e@mail.com" -
Install and generate GPG
brew install gnupg -
Generate Public Key
ssh-keygen -t rsa -b 4096 -C "e@mail.com" -
Install Ghostty
brew install --cask ghostty -
Install PostgresQL
brew install postgresql -
Install PostGIS
brew install postgis -
Configure PostgreSQL as a service
brew services start postgresql -
Configure PostGIS Extensions
-
Install SDKMan https://sdkman.io/install
$ curl -s "https://get.sdkman.io" | bash $ source "$HOME/.sdkman/bin/sdkman-init.sh" $ sdk version -
Install Maven
brew install maven -
Install Gradle
brew install gradle -
Add iTerm color and theme
https://github.com/sindresorhus/iterm2-snazzy https://github.com/sindresorhus/pure -
Install Oh My ZSH
-
Install fonts
brew tap homebrew/cask-fonts or brew install --cask font-fira-code brew tap caskroom/fonts brew cask install font-fontawesome brew cask install font-awesome-terminal-fonts -
Cofigure Shell Theme
-
Download and install the SourceCodePro Powerline Awesome font
-
Configure Powerlevel9K Theme
POWERLEVEL9K_PROMPT_ON_NEWLINE=true POWERLEVEL9K_MODE='awesome-patched' POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 POWERLEVEL9K_SHORTEN_STRATEGY="truncate_middle" POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon context dir vcs) POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status rbenv virtualenv vi_mode) POWERLEVEL9K_STATUS_VERBOSE=false -
Install Python 3
brew install python3 brew install pyenv brew install pyenv pyenv-virtualenv pyenv-virtualenvwrapper -
Install the Python Package Index
sudo easy_install "pip < 21.0"Since the macos bigs sur has some issues with the version of pip and typing modules, first install pip on an older version -
Install the Virtual Environment tool
sudo pip install virtualenv sudo pip install virtualenvwrapper --ignore-installed six export WORKON_HOME=$HOME/.virtualenvs source /usr/local/bin/virtualenvwrapper.sh -
Install Poetry documentation
curl -sSL https://install.python-poetry.org | python3 - -
Install Kubernetes
brew install kubectl -
Install Minikube (it will require to install virtualbox)
brew install minikube -
Start minikube cluster
minikube start --driver=virtualbox -
Install RabbitMQ
brew install rabbitmq -
Run RabbitMQ as a service
brew services restart rabbitmqor
CONF_ENV_FILE="/usr/local/etc/rabbitmq/rabbitmq-env.conf" /usr/local/opt/rabbitmq/sbin/rabbitmq-server -
Install PHP 7.2
brew tap homebrew/dupes brew tap homebrew/php brew install php72 --without-mysql --without-apache --with-postgresql --with-fpm -
Install NGINX
brew install nginx -
New page to install
P HPandNGNIX -
For install and configure
NGINXandPHPfollow this page -
For install neovim
brew install neovim/neovim/neovimFollow this project to see how to install plugins Install this colorscheme
-
Install Node, Typescript and Anguar
brew install node npm install -g typescript npm install -g @angular/cli npm install -g cordova ionic -
Install Atom packages
angular-2-typeScript-snippets atom-bootstrap3 atom-bootstrap4 atom-typescript file-icons font-awesome-snippets platformio-ide-terminal v-bootstrap4 autocomplete-js-import Markdown-Writer Markdown-Scroll-Sync Markdown-Format -
Enable NTFS on Mac, follow this link
-
Install ncdu
$ brew install ncdu -
Install Fira-font
brew tap homebrew/cask-fonts brew cask install font-fira-code https://www.dafont.com/flottflott.font -
Install Victor Mono Font
brew tap homebrew/cask-fonts && brew cask install font-victor-mono -
Install Visual Studio Code
brew cask install visual-studio-code -
VS Code themes
https://github.com/juanmnl/vs-hydra https://marketplace.visualstudio.com/items?itemName=juanmnl.vscode-theme-1984 -
Install Snyk
brew tap snyk/tap brew install snyk