cd & git clone https://github.com/phildionne/dotfiles
Install brew
# Upgrade outdated casks and outdated, unpinned formulae
brew upgrade
# Remove stale lock files and outdated downloads for all formulae and casks, and remove old versions of installed formulae
# -s Scrub the cache, including downloads for even the latest versions.
brew cleanup -s
# Uninstall formulae that were only installed as a dependency of another formula and are now no longer needed
brew autoremove
# Upgrade outdated casks
brew upgrade $(brew outdated --cask --greedy --quiet)
While latest macOS versions have Zsh already installed, it's best to install it with brew to get the latest and keep it updated.
brew install zsh
Then install Warp.
brew install warp
brew install \
asdf \
doctl \
yarn \
tmux \
overmind \
redis
- asdf for managing programming language versions
- yarn for managing JavaScript packages
- doctl for interacting with the Digital Ocean API
- overmind for managing Procfile-based applications
- tmux for saving project state and switching between projects
- redis for storing key-value data
- hub for interacting with the GitHub API
- Git Credentials Manager
brew install hub
brew tap microsoft/git
brew install --cask git-credential-manager-core
asdf plugin add ruby
asdf plugin add nodejs
asdf install ruby latest
asdf install nodejs latest
Use brew cask:
brew install --cask \
visual-studio-code \
github \
dash \
ngrok \
postman
- Postgres.app PostgreSQL database
- Sequel MySQL GUI
- Postico PostgreSQL GUI
- Base SQLite3 GUI
brew install --cask \
postgres-unofficial \
sequel-pro \
postico \
base
Configure your $PATH
to use the included command line tools:
sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp
See:
brew install --cask \
appcleaner \
bitwarden \
dropbox \
google-chrome \
messenger \
slack \
raycast \
spotify \
the-unarchiver \
vlc \
webtorrent
Install docker:
brew install --cask docker
Install erlang-history to enable history in the elixir & erlang interactive consoles.
.git_config
.global_ignore
.gemrc
.irbrc
.pryrc
.rspec
Create symlinks to your dotfiles in ~
.
cd ~/dotfiles
rake install
Install homebrew-cask-drivers
brew tap homebrew/cask-drivers
Install Display Link to support two screens on a M1:
brew install --cask displaylink
Adds support for:
- Preview source code files with syntax highlighting
- Preview plain text files without or with unknown file extension
- Preview Markdown files
- Preview JSON files
brew install \
qlcolorcode \
qlstephen \
qlmarkdown \
quicklook-json
See: https://github.com/sindresorhus/quick-look-plugins
optional - Allow to write to ntfs formated drives:
brew install homebrew/fuse/ntfs-3g
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original
sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs
Make you mac secure; mostly taken from this guide.
- Enable firewall
- Enable FileVault
- Disable spotlight suggestions
- Configure PGP/GPG
- Use latest OpenSSL:
brew install openssl
- Use curl with openssl:
brew install curl --with-openssl && brew link --force curl
- Use NextDNS