Skip to content

Instantly share code, notes, and snippets.

@Goobles
Last active October 26, 2022 14:42
Show Gist options
  • Select an option

  • Save Goobles/dd8da93873d9e1a033a410b48296cb2c to your computer and use it in GitHub Desktop.

Select an option

Save Goobles/dd8da93873d9e1a033a410b48296cb2c to your computer and use it in GitHub Desktop.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh)"
brew install gh
brew install --cask iterm2
brew install --cask google-chrome
brew install --cask sfdx
brew install --cask slack
brew install --cask visual-studio-code
brew install --cask intellij-idea-ce
brew install --cask docker
brew install --cask google-cloud-sdk
#shell
echo 'ZSH_THEME="agnoster"' >> ~/.zshrc
#java
brew install java
sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
echo 'export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"' >> ~/.zshrc
#git and ssh config
gh auth login --scopes write:packages -h Github.com -w -p ssh
gh auth setup-git
export GH_TOKEN="$(gh auth token)"
echo 'export GH_TOKEN="$(gh auth token)"' >> ~/.zshrc
#gcloud
gcloud auth login
source ~/.zshrc
#npm
nvm install 16
nvm install 18
nvm use 18
echo '//npm.pkg.github.com/:_authToken=${GH_TOKEN}
@sparklink:registry=https://npm.pkg.github.com/
global=false%' >> ~/.npmrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment