Contains macOS configuration files for various apps and instructions for setting up a new Mac.
- Preparation
- General
- macOS
- Alfred
- NodeJS
- Ruby
- Git
- VS Code
- Spacemacs
- Android Development
- PHP Development
- Ansible
- Others
- References
-
Update everything that is available in the App Store
-
Install Xcode
-
Install Homebrew
-
Clone this repo to a local dir (e.g.
~/.files
).git clone [email protected]:shiki/dotfiles.git ~/.files
brew install dropbox google-chrome google-chrome@canary slack firefox notion zoom obsidian
brew install visual-studio-code
brew install sequel-ace
brew install alfred appcleaner marta keepassxc omnidisksweeper rectangle espanso dozer
brew install adobe-acrobat-reader handbrake
brew install git lnav tree wget gh
brew install proxyman
brew install zoxide fzf
# Install JuliaMono Typeface (https://juliamono.netlify.app/)
brew tap homebrew/cask-fonts
brew install --cask font-juliamono
These aren't installed through Homebrew
# Always show hidden files
defaults write -g AppleShowAllFiles -bool true
# Restart Finder
killall Finder
# Enable full keyboard access for all controls
# (e.g. enable Tab in modal dialogs)
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
-
Install ohmyzsh
-
Symlink ZSH files
mv ~/.zshrc ~/.zshrc.bak ln -s ~/.files/.zshrc ~/.zshrc mv ~/.zprofile ~/.zprofile.bak ln -s ~/.files/.zprofile ~/.zprofile
Follow the instructions in Sync your Alfred settings between Macs to synchronize the settings using Dropbox.
These workflows should be automatically installed:
- Calm Notifications
- Shimmering Obsidian
- Unit Converter
- Terminal-Finder
- 1Password
- Shortcuts
- Currency Converter
- TimeZones
Clone the private espanso repository to ~/.espanso
.
git clone ESPANSO_REPO_SSH_URL ~/.espanso
-
Install nvm.
-
Install the latest Node version.
nvm intall node
-
Install
rbenv
brew install rbenv
-
Install the latest Ruby version.
# List all available versions rbenv install -l # Install rbenv install <version>
-
Set it as the global version.
rbenv global <version>
-
Install global Ruby packages.
gem install bundler cocoapods
-
Prepare Cocoapods repo. This could take a long time.
pod setup
git config --global user.name "Shiki"
git config --global user.email "GITHUB_NOREPLY_EMAIL_ADDRESS"
VS Code settings are synchronized using the built-in Settings Sync. Turn the Settings Sync on and log in using GitHub.
Disable press and hold so that VS Code will repeat any key that is being held:
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
-
Install Emacs-plus.
-
Follow instructions in here to install Spacemacs.
-
Symlink
.spacemacs
mv .spacemacs .spacemacs.bak ln -s .files/spacemacs/.spacemacs .spacemacs
Install Android Studio via Homebrew:
brew install android-studio
Android Studio settings are synchronized using a git repo.
- Follow the instructions in Share settings through a settings repository.
- Use the
android-studio-settings
Github repo.
brew install scrcpy
Settings are synchronized using IDE settings sync using my Jetbrains account.
Install pyenv.
brew install ansible
brew install --cask temurin
brew install intellij-idea
- Change the default DNS
- Add a Quick Action to convert HEIC to JPEG
- Enable zoom by checking Settings → Accessibility → Zoom → Use scroll gesture with modifier keys to zoom