Windows和Mac命令行安装开发软件

1 Mac安装Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

1.1 可安装的软件

https://github.com/Homebrew/homebrew-core/tree/master/Formula

安装脚本 brew_all_program_install_.sh

#Java开发基础安装
brew install git
brew install maven
brew install tomcat

#NoSQL数据库安装
brew install redis
brew install mongodb

#消息队列安装
brew install rabbitmq
brew install kafka

#SpringCloud安装
brew install consul

#大数据安装
brew install hadoop
brew install hbase
brew install hive
brew install storm
brew install spark

brew_all_program_upgrade.sh

#Java开发基础升级
brew upgrade git
brew upgrade maven
brew upgrade tomcat

#NoSQL数据库升级
brew upgrade redis
brew upgrade mongodb

#消息队列升级
brew upgrade rabbitmq
brew upgrade kafka

#SpringCloud升级
brew upgrade consul

#大数据升级
brew upgrade hadoop
brew upgrade hbase
brew upgrade hive
brew upgrade storm
brew upgrade spark

1.2 安装位置

/usr/local/Cellar/项目名称

2 Windows安装Scoop

Make sure Powershell 3 is installed, then run:

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

Note: if you get an error you might need to change the execution policy (i.e. enable Powershell) with Set-ExecutionPolicy RemoteSigned -scope CurrentUser

可安装的软件:

https://github.com/lukesampson/scoop/tree/master/bucket

scoop_all_program_install.bat

rem Java开发基础升级
scoop install git
scoop install maven

rem NoSQL数据库升级
scoop install redis
scoop install mongodb

scoop_all_program_upgrade.bat

rem Java开发基础升级
scoop update git
scoop update maven

rem NoSQL数据库升级
scoop update redis
scoop update mongodb

 

转载于:https://my.oschina.net/duhongming52java/blog/1635589

你可能感兴趣的:(Windows和Mac命令行安装开发软件)