react-native mac
brew
brew又叫homebrew是mac上的软件管理工具,软件安装和软件卸载
官网:brew.sh
安装:
brew install git or brew uninstall git
brew search /wge*/
brew list :列出安装的软件
brew update
brew info
brew deps :显示软件包依赖
mac 命令:
mkdir
rmkdir
mvdir
pwd
卸载java
Note:
Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time that you perform an update of the OS
步骤:
1. Go to /Library/Java/JavaVirtualMachines.
2.Remove the directory whose name matches the following format by executing the rm command as a root user or by using the sudo tool:
/Library/Java/JavaVirtualMachines/jdk-interim.update.patch.jdk
$ rm -rf jdk-12.jdk
访问java.com
软件安装目录就是在usr/bin里面
Windows下管理软件的叫做chocolatey
choco