Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mac 软件一键更新(brew等) #2

Open
@codezyc

Description

echo "updating zsh"
upgrade_oh_my_zsh
zplug update && zplug clear
echo "updating brew"
brew -v update; brew upgrade --force-bottle --cleanup; brew cleanup; brew cask cleanup; brew prune; brew doctor;
echo "updating gem"
sudo gem update --system; sudo gem update --no-document && sudo gem cleanup
echo "update atom plugin"
apm update
echo "updating app store"
sudo softwareupdate -iva
echo "update npm"
npm i npm@latest -g
npm-check -g -u

可以弄成一个bash function 或 alias,定期执行
欢迎补充~~

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /