This dotfiles repository exists for setup of Macbooks. It uses chezmoi to manage dotfiles and homebrew to install tools, apps and Visual Studio Code extensions.
Icons for usage:
- 🏡 home mac
- 🏢 work mac
- Deactivate Dropbox
- Sign out from personal Dropbox
- Save Moom settings
- Quit Moom
- Export Moom settings and copy to chezmoi source
defaults export com.manytricks.Moom ~/.local/share/chezmoi/dot_dotfiles/moom/Moom.plist
- 🏢 Export JetBrains IDEs settings
- DataGrip
- Make database sources global and export settings to OneDrive
- Rider
- Export settings to OneDrive
- DataGrip
- 🏢 Export MS Remote Desktop settings to OneDrive
- Copy to OneDrive 3 files in
/Users/<username>/Library/Containers/com.microsoft.rdc.macos/Data/Library/Application Support/com.microsoft.rdc.macosstarts withcom.microsoft.rdc.application-data.sqlite*
- Copy to OneDrive 3 files in
-
Update OS to latest version and install Rosetta 2 also from Terminal (or run
/bin/bash ~/.dotfiles/.mac_update.shscript):softwareupdate -lsudo softwareupdate -i -a --restart --agree-to-license --verbosesudo softwareupdate --install-rosetta
-
Install Xcode command line tools from the Terminal:
xcode-select --install
-
Install Homebrew from Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install chezmoi via Homebrew:
brew install chezmoi
-
Init chezmoi repository from remote dotfiles:
chezmoi init --apply --verbose https://github.com/$GITHUB_USERNAME/dotfiles.git
-
Install apps via Homebrew manually from Terminal:
brew bundle install --file=~/Brewfile
-
Import app settings to Defaults from Terminal:
/bin/bash ~/.dotfiles/.import_plists.sh
-
Install .NET SDKs
-
Restart computer
-
Set up ssh keys. Articles about settings:
- https://dev.to/yashsway/setting-up-multiple-ssh-profiles-to-manage-multiple-git-accounts-macos-3m7m
- https://medium.com/@xiaolishen/use-multiple-ssh-keys-for-different-github-accounts-on-the-same-computer-7d7103ca8693
-
🏢 Import MS Remote Desktop settings to OneDrive
- Copy from OneDrive 3 files to
/Users/<username>/Library/Containers/com.microsoft.rdc.macos/Data/Library/Application Support/com.microsoft.rdc.macoswhich starts withcom.microsoft.rdc.application-data.sqlite*
- Copy from OneDrive 3 files to
-
🏢 Install JetBrains software
- Download JetBrains Toolbox manually and install it.
- Sign in to JetBrains Toolbox and install all needed apps.
- Import JetBrains IDE settings from OneDrive
-
🏢 Set up Docker Desktop
- Sign in to Docker Desktop
-
Set up Visual Studio Code
- Set settings
- Set up launching VSCode from command line with tutorial
-
🏢 Install M365 apps
- Sign in to https://portal.office.com
- Go to https://portal.office.com/account/?ref=Harmony and click to
Install Office
-
Set up personal Dropbox
- Sign in to Dropbox
- Set up sync folders
-
Install Python from pyenv
- Use guide on Tidy Tales - Python Setup
-
🏢 Install Astrill VPN
For daily sw update use swupdate and macupdate commands and JetBrains Toolbox.