My Mac OS X setup manual.
- 1. Touch ID for sudo authentication (modern approach)
- 2. Homebrew permissions (modern approach)
- 3. Install Homebrew
- 4. clone dotfiles
- 5. Kick
setup.sh(Homebrew required) - 6. Install Vim plugins
- 7. Install Nodebrew
- Extra. Any Manual Tasks
Enable Touch ID for sudo commands instead of password-less sudo (more secure approach).
For macOS Sonoma 14.x and above (recommended):
sudo nano /etc/pam.d/sudo_local
# Add this line:
auth sufficient pam_tid.soFor older macOS versions:
sudo nano /etc/pam.d/sudo
# Add 'auth sufficient pam_tid.so' as the second lineModern Homebrew handles permissions automatically during installation.
For Apple Silicon Macs (M1/M2/M3): Homebrew installs to /opt/homebrew
For Intel Macs: Homebrew installs to /usr/local
No manual ownership changes are required - Homebrew installer sets up proper permissions automatically.
If you encounter permission issues, use:
brew doctor
# Follow the specific suggestions providedSee: Official Homebrew Installation Guide | Homebrew Permissions Troubleshooting
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"cd ~
[email protected]:ryota-murakami/dotfiles.git5. Kick setup.sh(Homebrew required)
cd dotfiles
./setup.shwhat's doing in setup.sh
- generate dotfile symboliclinks at home directory.
- install all homebrew packages in Brewfile.
- setting fish-shell as a login shell.
- re-open terminal to activation.
- initialize git submodule.
- in order to neobundle.vim.
open .vimrc, execute folllowing.
:NeoBundleInstalldefined installed pulugins at .vimrc.
git
call neobundle#begin(expand('~/.vim/bundle'))
NeoBundle 'editorconfig/editorconfig-vim'
~
call neobundle#end()nodebrew is not provided by homebrew, therefore you have to setup along to the README. https://github.com/hokaccha/nodebrew
- install karabiner-elements
- system prefefences > hidden dock
- System Preferences > Keybord > App Shortcut > Others > type action "Log Out ryota..." > set
cmd + option + qas shortcut- OSX default shortcut
cmd + option + qof "Log Out ryota..." is conflict my custom editor's "close project" shortcut - See: https://apple.stackexchange.com/questions/210517/disable-shift-cmd-q-for-logout
- OSX default shortcut
- Set
Unicode Hex Inputas a input soruce to remove all option key combination - Remove
cmd + shift + rshortcut from Be Focus Pro