iTranslated by AI
New MacBook (Apple M4) Setup Notes
Initial setup notes for a MacBook (Apple M4) for Unity game development work.
Items to Install
Chrome
Google Japanese Input
Slack
git
Install Xcode Command Line Tools
% xcode-select --install
Homebrew
Refer to the official site for the installation command
% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Adding to Path
% echo >> /Users/unsoluble_sugar/.zprofile
% echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/unsoluble_sugar/.zprofile
% eval "$(/opt/homebrew/bin/brew shellenv)"
References
node
% brew install node
% node -v
% npm -v
VSCode
I use configurations like splitting the window into two for terminal and file displays.
The default shell for macOS is zsh, so no change is needed, but refer to the following article when changing the default terminal.
Install Extensions
Prettier
Code Spell Checker
indent-rainbow
json
GitHub Copilot
Sourcetree
I also use git commands normally, but I use this because it's easy to visualize.
Unity Hub
If you have a new Unity account, assign a Unity Pro license seat.
Changing the editor used when opening files from Unity
Change the editor used to open files via "Edit Script" to VSCode.
Open the Preferences window from [Unity] > [Settings...] and select the editor to use in "External Script Editor" under "External Tools".

By default, it is set to "Visual Studio for Mac", so change it to VSCode.

Solution for when the dotnet: command not found .NET Core error occurs when opening C# files in VSCode:
Finder Settings
Display Path Bar and others
Enable the following from the "View" menu:
- Path Bar
- Status Bar
- Preview

Sidebar
Adjust the display settings to suit your preference.

Show Filename Extensions
% defaults write NSGlobalDomain AppleShowAllExtensions -bool true
Show Hidden Files
Toggle show/hide with "command + shift + ."
Hide Icons and Folders on Desktop
In System Settings, go to "Desktop & Dock" > "Desktop & Stage Manager" > "Show Items" and uncheck "On Desktop".

Fix the Desktop Order in Mission Control
System Settings > Desktop & Dock
Uncheck "Automatically rearrange Spaces based on most recent use".
Related Articles
GitHub integration for Slack
Python Environment Setup
Discussion