Mac基本配置
|
相关操作 |
配置文件 |
java
|
#配置java JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home PATH=$JAVA_HOME/bin:$PATH:. CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:. export JAVA_HOME export PATH export CLASSPATH |
|
python |
#配置python3 PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}" export PATH alias python="/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7" |
|
jmeter |
|
#配置jmeter export jmeter_HOME=/Users/icourt/solf/apache-jmeter-5.1.1 export PATH=$PATH:$jmeter_HOME/bin |
mysql |
|
#配置mysql export Mysql=/usr/local/mysql export PATH=$PATH:$Mysql/bin |
Adt Bundle |
#配置Adt Bundle export PATH=${PATH}:/Users/test/solf/adt-bundle-mac-x86_64-20140702/sdk/platform-tools |
|
appium |
1、Xcode 来源:app store
2、node.js 安装命令:brew install node 3、appium 安装命令「1」: npm install -g appium npm install wd npm i cnpm -g --registry=http://registry.npm.taobao.org cnpm i appium -g cnpm i wd -g cnpm i appium-doctor 4、jdk 5、java 6、xcode命令行 安装命令: xcode-select --install 7、检查更新 8、启动appium 命令:appium --session-override 9、配置环境变量 10、报错及相关解决办法 「Erro : AppiumDoctor ✖ Xcode is NOT installed! 解决命令: xcode-select -p cd 以上路径 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer 」 |