Mac 初期設定
xcode-select --install
AppleID
login
setup GitHub ssh
ssh-keygen -t ed25519
GitHub にSSH鍵を登録
code:.ssh/config
Host github.com
HostName github.com
User git
IdentityFile <file>
UseKeychain true
ssh-add --apple-use-keychain <file>
ssh -T github.com
生体認証登録
add standard shell
sudo vim /etc/shells
add /usr/local/bin/zsh, /opt/homebrew/bin/zsh
実行方法は README.md 参照
shell, terminal 等各種ツールのインストール、設定
アプリのインストール
System Preferences
TouchID
Register multiple fingers
Security & Privacy
Require password immediately
On Firewall
General
Dark mode
Accent color
sidebar icon size
Display
Scaled resolution
Desktop & screen saver
background
Screen saver
Siri
off
hide on menu bar
Bluetooth
show on menu bar
Sound
show on menu bar
turn off startup/user interface sound
Keyboard
set keyrepeat, delay until repeat to max
Modifier Keys
map Caps Lock to Control
Shortcut
off
map Move left/right a space Ctrl+h to Ctrl+l
map Mission ControltoCtrl+u
Trackpad
enable Tap to Click
fastest Tracking speed
disable dictionary
Mission Control
turn off Automatically rearrange Spaces based on most recent use
Do not disturb
turn off sync across devices
Dock & Menu Bar -> Clock
Use 24-hour clock
Display the time with seconds
Notifications
remove widgets
Finder
show extensions
show home
change side bar
Dock
delete unnecessary apps
show on right
hide automatically
change size, magnificatio
Accesibility
display -> reduce motion
Install Fonts
zsh history
copy ~/.zsh_history
google-japanese-ime が apple silicon 未対応 (2022/07) 使わなくなった
brew でいれられないので、公式サイトからダウンロードして Rosetta で動かすように
homebrew でいれたツールのインストール先が /usr/local/bin -> /opt/homebrew/bin に変わった /usr/local/bin/zsh -> /opt/homebrew/bin/zsh
set rtp+=/opt/homebrew/opt/fzf
prefix 部分の出し分けはbrew --prefix で
cd ~/.config/coc/extensions && npm i
code:sh
sudo softwareupdate --install-rosetta --agree-to-license
flutter clean
rm ios/Pods
rm ios/.symlinks
sudo gem uninstall ffi
arch -x86_64 sudo gem install ffi
sudo gem install cocoapods -v 1.11.3
flutter pub get
pod cache clean --all
cd ios && arch -x86_64 pod install --repo-update
flutter run ....
ref