as of Sept 2021, Big Sur
Dead simple script to setup my new Mac:
cd ~/Downloads
curl -sL https://raw.githubusercontent.com/gianpaj/mac-setup-script/master/defaults.sh | bash
curl -O https://raw.githubusercontent.com/gianpaj/mac-setup-script/master/install.sh
chmod +x install.sh
./install.sh
./install.sh >> install_log.txt
-
Install brew
-
Clone repo
git clone git@github.com:gianpaj/mac-setup-script.git
-
Set macOS settings
cd mac-setup-script bash defaults.sh
-
Install apps
bash install.sh
-
Reboot
-
Karabiner Elements
- to fix the back tick character ` when pressing §
non_us_backslash
tograve_accent_and_tilde
-
Alfred workflows
-
SwitchAudioSource (to switch between audio devices)
-
Switch Appearance – Change between Light and Dark Mode
-
-
Linear - Ruler app with web-development in mind
My bug fix
git clone git@github.com:gianpaj/linear.git git checkout -b upgrade-electron-package origin/upgrade-electron-package npm install npm run package
Disable Gatekeeper:
sudo spctl --master-disable
-
VSCode
-
Android Studio
- Android SDK path
-
Xcode
- Command-line tools
-
asdf (Manage multiple runtime versions - Node.js, Python, etc.)
-
iTerm2
-
Zsh (Guide)
-
oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
-
pure - Pretty, minimal and fast ZSH prompt
(already installed in
install.sh
) -
Update
.zshrc
-
-
Load
.zshrc
and.aliases
from Dropboxln -s ~/Dropbox/Mac/.zshrc ~ ln -s ~/Dropbox/Mac/.aliases ~
-
-
asdf
asdf plugin-add python asdf install python latest
e.g.
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
Upgrade all security packages
sudo apt-get -s dist-upgrade | grep "^Inst" | grep -i securi | awk -F " " {'print $2'}
sudo apt-get -s dist-upgrade | grep "^Inst" | grep -i securi | awk -F " " {'print $2'} | xargs sudo apt-get install -y
- GitLens
- Sublime Text Keymap and Settings
- ESLint
- EditorConfig for VS Code
- DeepScan - Detect bugs and quality issues in JavaScript, TypeScript, React and Vue.js more precisely
- JavaScript (ES6) code snippets
- Prettier - Code formatter
- Markdown All in One - keyboard shortcuts, table of contents, auto preview and more
- markdownlint - Markdown linting and style checking
- npm Intellisense - autocompletes npm modules in import statements
- Path Intellisense - autocompletes filenames
- TODO Highlight - highlight TODOs, FIXMEs, and any keywords, annotations...
- Color Highlight - Highlight web colors in your editor
- Dropbox
- Spotify
- App Cleaner
- Window and Keyboard managers (skhd and yabai)
- Spectacle (window manager)
about:config
- Disable zooming with Cmd + Mouse wheel
mousewheel.with_meta.action
=0
disabled from3
zoom
- Auto Tab Discard (similar to The Great/Marvellous Suspender)
- Grammarly
- uBlock origin
- New Tab Clock
- uBlock origin
- Ghostery - Privacy Blocker
- The Marvellous Suspender
- LastPass
- Grammarly
- Pushbullet
- Wappalyzer
- Time Zone Converter - Savvy Time
- Hide Likes
- Hide Feed
- xTab - Limit the maximum number of tabs that can be open at the same time.
- Reader View
- Google Image Search
-
Giphy Capture
-
or kap
brew install kap --cask