The following is a guide I wrote to guide one through a fresh installation on a new machine. Enjoy!
Quote time:
“To be in hell is to drift; to be in heaven is to steer.” ― George Bernard Shaw
1.7.8
MacOS 12.5.1
- Apple Music
- ColorSlurp
- Quiver
- Xcode
sudo xcodebuild -license accept
- 1password
- alfred
- appcleaner
- bartender
- discord
- dropbox
- eloston-chromium
- figma
- firefox-developer-edition
- font-hack
- font-hack-nerd-font
- iconjar
- imageoptim
- iina
- insomnia
- iterm2
- kodi
- google-drive
- little-snitch
- qlcolorcode
- qlmarkdown
- qlprettypatch
- qlstephen
- querious
- quicklook-csv
- quicklook-json
- robo-3t
- slack
- sublime-text
- suspicious-package
- the-unarchiver
- transmit
- virtualbox
- visual-studio-code
- webpquicklook
.vimrc
https://github.com/arbitrarily/vimrc.gitconfig
https://github.com/arbitrarily/gitconfig.zshrc
(primary) https://github.com/arbitrarily/zshrc.yabairc
https://github.com/arbitrarily/yabairc.skhdrc
(primary) https://github.com/arbitrarily/skhdrc
Neofetch Settings
https://github.com/arbitrarily/neofetch-settingsFirefox New Tab Loading Page
https://github.com/arbitrarily/firefox-new-tabSublime Text Preferences
https://github.com/arbitrarily/sublime-settingsVisual Studio Code Preferences
https://github.com/arbitrarily/vs-code-settingscmus Theme
https://github.com/arbitrarily/cmus-themeNowplaying
https://github.com/arbitrarily/nowplaying
# zsh
ln -s ~/Git/zshrc/.zshrc ~/.zshrc
# skhdrc
ln -s ~/Git/skhdrc/.skhdrc ~/.skhdrc
# yabairc
ln -s ~/Git/yabairc/.yabairc ~/.yabairc
# vimrc
ln -s ~/Git/vimrc/vimrc ~/.vimrc
# gitconfig
ln -s ~/Git/gitconfig/.gitconfig ~/.gitconfig
Fonts are Backed up to /Dropbox/Resources
# sudo apt-get install zsh
brew install zsh
sh -c "$(c
* DaisyDiskurl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Make Default Shell
chsh -s $(which zsh)
# Install Oh-My-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install Oh My ZSH Plugins
curl -L https://iterm2.com/shell_integration/zsh \
-o ~/.iterm2_shell_integration.zsh
# Syntax Highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# Auto Complete
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git ~/Git/zsh-autocomplete
Just hit Command + Shift + P then hit install Package Control
and we're set to install plugins again.
Plugins to install via Package Control:
- A File Icon
- Alignment
- All Autocomplete
- ApacheConf
- AutoFileName
- AutoSetSyntax
- Babel
- Better JavaScript
- BracketHighlighter
- Color Highlighter
- DotENV
- EditorConfig
- Ethereum
- GitGutter
- GitOpenChangedFiles
- HTML-CSS-JS Prettify
- ImagePreview
- IntelliDocs
- JsPrettier
- Liquid
- LSP
- LSP-css
- LSP-eslint
- LSP-html
- LSP-intelephense
- LSP-pylsp
- LSP-stylelint
- LSP-typescript
- Monokai - Spacegray
- Monokai Extended
- nginx
- Pane Pane
- rsub
- Sass
- SassBeautify
- SidebarEnhancement
- SublimeLinter
- SublimeLinter-eslint
- SublimeLinter-jshint
- SublimeLinter-php
- Tagify
- Theme - Spacegray
- Theme - Monokai Pro
- TypeScript Syntax
- zzz A File Icon zzz
- Auto Hide
- colorize
- Debugger for Firefox
- Duplicate action
- EditorConfig for VS Code
- ES7+ React/Redux/React-Native
- ESLint
- GitHub Copilot
- GitLens
- HTML CSS Support
- indent-rainbow
- IntelliSense for CSS class names in HTML
- Markdown Preview Enhanced
- Monokai Pro New KC
- PHP Intelephense
- PHP IntelliSense
- Prettier - Code formatter
- Select Lines
- Sublime Text Keymap and Settings Importer
- Solidity
- vscode-icons
- Vue Language Features (Volar)
Theme: Monokai Pro
UI Color Scheme: Monokai Pro
Font: Hack Nerd Font
Previously: Spacegray Eighties
Theme: Monokai Pro New KC
Font: 'Hack Nerd Font', 'Hack', 'Fira Mono', Menlo Bold, Monaco, 'Courier New', monospace
- https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git
- https://help.github.com/articles/generating-ssh-keys/
# check if installed
ls -al ~/.ssh
# Actually generate it
ssh-keygen -t rsa -C "your_email@example.com"
# Copy
keys # shortcut
pbcopy < ~/.ssh/id_rsa.pub
# Test if worked
ssh -T git@github.com
git config --global user.name "Name"
git config --global user.email email@email.com
git config --global github.user user_name_here
git config --global github.token your_token_here
git config -l --global
git config --global core.editor "subl ."
git config --global color.ui true
sudo scutil --set HostName ###
# Set a fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0
# Set a shorter delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12
# Remove Animations
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
# Hide the Desktop
defaults write com.apple.finder CreateDesktop false; killall Finder
# Skip Verify Images
defaults write com.apple.frameworks.diskimages skip-verify true
# Prevent Apple Character Press and Hold
defaults write -g ApplePressAndHoldEnabled -bool false
# Add a contextual menu item to show the Web Inspector in web views
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
# Show the ~/Library folder
chflags nohidden ~/Library
# Store screenshots in subfolder on desktop
mkdir ~/Screenshots
defaults write com.apple.screencapture location ~/Screenshots
killall SystemUIServer
# Add Message to Login Screen
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "In found, please call ###-###-####"
# Make Sublime Default Text Editor
defaults write com.apple.LaunchServices LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.3;}'
# Enable Text Selection in QuickLook
defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder
# Faster Dock Animation
defaults write com.apple.dock autohide-time-modifier -float 0.15; killall Dock
# Dull Hidden Apps in Dock
defaults write com.apple.Dock showhidden -bool TRUE; killall Dock
# Disable Dashboard
defaults write com.apple.dashboard mcx-disabled -bool true
# Make Dock only Show Active Apps
defaults write com.apple.dock static-only -bool true; killall Dock
# Recents & Favorites in Dock (Favorite Items & Recent Docs)
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'; killall Dock
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'; killall Dock
# Just in Case: Revert Dock to Default
defaults write com.apple.dock static-only -bool false; killall Dock
# Opt-out from Siri data collection
defaults write com.apple.assistant.support 'Siri Data Sharing Opt-In Status' -int 2
# Disable 'Ask Siri'
defaults write com.apple.assistant.support 'Assistant Enabled' -bool false
# Disable Siri voice feedback
defaults write com.apple.assistant.backedup 'Use device speaker for TTS' -int 3
# Disable 'Do you want to enable Siri?' pop-up
defaults write com.apple.SetupAssistant 'DidSeeSiriSetup' -bool True
# Hide Siri from menu bar
defaults write com.apple.Siri 'StatusMenuVisible' -bool false
defaults write com.apple.Siri 'UserHasDeclinedEnable' -bool true
# Disable Siri services (Siri and assistantd)
launchctl disable "user/$UID/com.apple.assistantd"
launchctl disable "gui/$UID/com.apple.assistantd"
sudo launchctl disable 'system/com.apple.assistantd'
launchctl disable "user/$UID/com.apple.Siri.agent"
launchctl disable "gui/$UID/com.apple.Siri.agent"
sudo launchctl disable 'system/com.apple.Siri.agent'
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
# Install Cask Fonts
brew tap homebrew/cask-cask-fonts
# Common Programs
brew install ack autojump automake bash-completion bat colordiff cmus cmusfm curl exa fd ffmpeg gifsicle git google-drive httpie icoutils imagemagick itermocil jq libmemcached libxml2 memcached neofetch openssl ossp-uuid qt readline ripgrep terminal-notifier wget wp-cli yabai yarn youtube-dl z
brew update && brew upgrade
brew untap homebrew/php
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install php
brew cleanup
brew doctor
export PATH=”$(brew — prefix homebrew/php/php8X)/bin:$PATH”
Just remember to change the X
in the PHP version in the last export line to whatever the latest one you're using is.
# Install Fonts
brew tap homebrew/cask-fonts
brew install font-hack-nerd-font
# iTermocil
brew install TomAnthony/brews/itermocil
# Yabai
brew install koekeishiya/formulae/yabai
# shkd
brew install koekeishiya/formulae/skhd
# Shopify
brew tap shopify/shopify
# Cask Applications
brew install 1password alfred arduino bartender bpytop discord dropbox eloston-chromium figma firefox-developer-edition font-hack-nerd-font iterm2 imageoptim iina insomnia lastfm little-snitch mimestream querious robo-3t slack sublime-text sublime-merge visual-studio-code the-unarchiver
# Install Quick Look Plugins (preview code etc)
brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency quicklookase qlvideo
brew cask alfred link
# Install
brew install mysql
# Check & Start
mysql.server start
# If Installation Failed
brew remove mysql
brew cleanup
sudo rm -rf /usr/local/var/mysql/
brew install mysql
mysql.server start
# Check MySQL Info
brew info mysql
brew install mongodb
# Install NPM Packages
npm install -g eslint eslint-cli eslint-plugin-prettier gatsby-cli grunt-cli gulp-cli is-up-cli prettier surge fkill-cli json typescript typescript-language-server
Install Yabai Window Manager
First disable SIP:
csrutil disable
then after reboot:
brew install koekeishiya/formulae/yabai
sudo yabai --install-sa
brew services start yabai
killall Dock
- https://docs.docker.com/docker-for-mac/install/#download-docker-for-mac
- https://docs.docker.com/compose/install/
Sourced from all over and throughout the years.