#!/bin/bash
if test ! $(which brew); then
echo "Homebrew is required but not installed, Installing now..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
echo 'Homebrew is already installed, Doing next...'
fi
echo "Update homebrew..."
brew update
echo "Installing packages..."
brew install openssl
brew install pcre
brew install nginx
brew install git
brew install wget
echo "Installing application..."
brew cask install google-chrome
brew cask install firefox
brew cask install visual-studio-code
brew cask install sequel-pro
brew cask install charles
brew cask install postman
brew cask install sublime-text
brew cask install gas-mask
brew cask install xmind
brew cask install docker
echo "Exit, please restart cli"
mac初始化 shell 脚本
最新推荐文章于 2024-08-23 17:44:29 发布