Last active
January 11, 2024 22:18
-
-
Save vardumper/f2781d52291c813fff8b26025fd6e3ed to your computer and use it in GitHub Desktop.
macOS Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ME="Fistname Lastname" | |
EML="email@website.com" | |
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.ci commit | |
git config --global alias.st status | |
git config --global user.name $ME | |
git config --global user.email $EML | |
git config --global core.editor "nano" | |
git config --global --add --bool push.autoSetupRemote true | |
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -C $ME | |
xcode-select --install | |
# bash | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k | |
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >> ~/.zshrc | |
# brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Apps | |
brew install htop wget php ansible ansible-lint libsass node-sass composer gh | |
brew install --cask arc | |
brew install --cask --no-quarantine syntax-highlight | |
brew install symfony-cli/tap/symfony-cli | |
brew install --cask beekeeper-studio | |
brew install --cask brave-browser | |
brew install --cask discord | |
brew install --cask docker | |
brew install --cask figma | |
brew install --cask firefox | |
brew install --cask google-chrome | |
brew install --cask miro | |
brew install --cask postman | |
brew install --cask redisinsight | |
brew install --cask skype | |
brew install --cask teamviewer | |
brew install --cask textmate | |
brew install --cask visual-studio-code | |
brew install --cask vlc | |
# NVM | |
brew install nvm | |
source $(brew --prefix nvm)/nvm.sh | |
nvm install 18 | |
nvm install 16 | |
nvm install node | |
# Updatedb and Locate | |
sudo /usr/libexec/locate.updatedb | |
echo "alias updatedb='sudo /usr/libexec/locate.updatedb'" >> ~/.zshrc | |
echo "export PATH='$HOME/.composer/vendor/bin:$PATH'" >> ~/.zshrc | |
# Configure GitHub CLI | |
gh auth login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment