Created
May 25, 2021 23:54
-
-
Save jdmg94/1242f6ee976a0b7eebacb149747556d8 to your computer and use it in GitHub Desktop.
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
# Author: Jose Munoz | |
#install homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# install CLI tools | |
brew install jq git zsh | |
# install and setup node/npm | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
nvm install node | |
nvm install --lts | |
nvm use node | |
nvm install-latest-npm | |
# install xcode | |
xcode-select --install | |
# install miscelaneus apps | |
brew install --cask visual-studio-code android-studio react-native-debugger appcleaner slack google-chrome firefox | |
# install vscode extensions | |
code --install-extension jpoissonnier.vscode-styled-components | |
code --install-extension formulahendry.auto-close-tag | |
code --install-extension formulahendry.auto-rename-tag | |
code --install-extension mikestead.dotenv | |
code --install-extension eamodio.gitlens | |
code --install-extension ecmel.vscode-html-css | |
code --install-extension cardinal90.multi-cursor-case-preserve | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension rvest.vs-code-prettier-eslint | |
code --install-extension vscode-icons-team.vscode-icons | |
code --install-extension CoenraadS.bracket-pair-colorizer-2 | |
# customizing ZSH | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | |
cd ~/Library/Fonts | |
curl -O# "https://github.com/romkatv/powerlevel10k-media/raw/master/{MesloLGS NF Regular,MesloLGS NF Bold,MesloLGS NF Italic,MesloLGS NF Bold Italic}.ttf" | |
cd | |
# add fonts to vscode | |
VSCODE_SETTINGS=~/Library/Application\ Support/Code/User/settings.json | |
cat $VSCODE_SETTINGS | jq '. + { "terminal.integrated.fontFamily": "MesloLGS NF" }' > $VSCODE_SETTINGS | |
zsh | |
p10k configure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment