Setup script for OSX
- GNU Make
$ make brew-install # This Task is executed only once
$ make # Execute on New terminal
# For M1 Mac
$ make brew-install BREW_PREFIX=/opt/homebrew
$ make BREW_PREFIX=/opt/homebrew
Authentication for several CLI tools
# Github
$ gh auth login
# AWS: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
$ aws configure
Several packages must be installed via cask
$ brew install --cask docker
$ open /Applications/Docker.app
$ brew install --cask licecap
Registration for Neovim plugins
$ nvim
:UpdateRemotePlugins
Setup Copilot
$ nvim
:Copilot setup
$ earthly bootstrap
Awsume and Awsume Console Plugin
$ awsume-configure
$ awsume --config set console.browser_command "\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" -incognito \"{url}\""
Amazon ECR Docker Credential Helper
$ cat ~/.docker/config.json
{
...
"credHelpers": {
"xxxxxxxxxx.dkr.ecr.ap-northeast-1.amazonaws.com": "ecr-login",
"public.ecr.aws": "ecr-login"
},
...
}
- Install VSCode plugins
- Flutter
- Flutter freezed Helpers
$ sudo softwareupdate --install-rosetta --agree-to-license
Xcode
# Directory path is different depending on the version you install via xcodes.
$ sudo xcode-select --switch /Applications/Xcode-14.3.0.app/Contents/Developer
$ sudo xcodebuild -runFirstLaunch
$ sudo xcodebuild -license
# Open Xcode via Spotlight
$ open -a Simulator
Android
- Open Android Studio via Spotlight
- Install Android SDK and so on
- Enable Developer options
- Install Command-Line Tools
$ flutter doctor --android-licenses
Following manual settings are needed after script execution.
- Trackpad
- 一本指でクリック
- 三本指でドラッグ
- Keyboard
- キーリピート速度(最速)
- 修飾キーの変更(CapsLock->Ctrl)
- 標準のファンクションキーの使用
- Desktop
- ホットコーナー
- Dock
- Terminal
- プロファイル
- Homebrew
- テキスト
- フォント(Ricty Diminished Discord Regular: 16)
- ウインドウ
- ウインドウサイズ(178 x 46)
- シェル -シェルの終了時にウインドウを閉じる
- キーボード
- メタキーとしてOptionキーを使用
- 詳細
- オーディオベルの停止
- プロファイル