Guide(Checklist) to configure work environment for MacOS.
- Compatibility with Apple Silicon
- Install Applications with Homebrew
- Customization of the Terminal
- NVM
- Git and Github
- VS Code
- NPM Registry
- AWS credentials
/usr/sbin/softwareupdate --install-rosetta --agree-to-licenseThis script includes installation of HomeBrew, tools and applications. More packages can be added using HomeBrew Formulae as reference.
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Choose one.
2.a Powerlevel10k
git clone --depth=1 [https://github.com/romkatv/powerlevel10k.git](https://github.com/romkatv/powerlevel10k.git) ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10kSet ZSH_THEME="powerlevel10k/powerlevel10k"in ~/.zshrc.
Install Powerline Fonts (optional)
git clone https://github.com/powerline/fonts.git --depth=1 &&
cd fonts &&
./install.sh &&
cd ..
rm -rf fonts2.b Spaceship
git clone [https://github.com/spaceship-prompt/spaceship-prompt.git](https://github.com/spaceship-prompt/spaceship-prompt.git) "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme”Set ZSH_THEME="spaceship"in your .zshrc.
Clone the plugin repository to /plugins/ folder and enable the plugin by adding the entry to .zshrc file.
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionscurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bashAdd the following lines to .zshrc file:
export NVM_DIR="$HOME/.nvm"
#This loads nvm
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
#This loads nvm bash_completion
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"git config --global user.name < USERNAME > &&
git config --global user.email < EMAIL > &&
git config --global --listReplace ~/.gitconfig file with this one.
Generating a new SSH key and adding it to the ssh-agent - GitHub Docs
Sync with github account and install font FiraCode.
Or use settings.json file.
To managing multiple profiles with different registries, use npmrc package.
npm i npmrc -g
npmrc -c [new-profile]
npmrc [new-profile]
npm config set registry [registry-url]
npmrc defaultInstall AWS-CLI following this guide.
Check ~/.aws* files