Skip to content

Instantly share code, notes, and snippets.

@qoli
Last active May 14, 2020 12:40
Show Gist options
  • Save qoli/19a09803280443a48bc13fe2e28f0058 to your computer and use it in GitHub Desktop.
Save qoli/19a09803280443a48bc13fe2e28f0058 to your computer and use it in GitHub Desktop.
#! /bin/sh
clear
echo "node 環境更新"
npm -v
node -v
npm install -g npm
npm cache clean -f
sudo npm install -g n
sudo n stable
npm -v
node -v
# fastlane 更新
echo "fastlane 更新"
fastlane update_fastlane
# python 安裝或更新
echo "python 安裝或更新"
pip3 install --upgrade pip
brew update
brew upgrade python
brew upgrade python@2
pip install --upgrade setuptools
# gcloud sdk
echo "gcloud sdk"
gcloud components update
# Brew cask
echo "Brew cask"
brew update && brew upgrade `brew outdated`
brew cask upgrade
echo "Go update"
git clone https://github.com/udhos/update-golang
cd update-golang
sudo ./update-golang.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment