mac 下系统变量小记

# Flutter
FLUTTER_HOME=/Users/t002/Documents/cme/personal/_lib_/flutter
PATH=$FLUTTER_HOME/bin:$PATH
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

# go 环境
GOROOT=/Users/t002/Documents/cme/personal/_lib_/go
GOPATH=/Users/t002/Documents/cme/personal/poj/go
PATH=$GOPATH:$GOROOT/bin:$PATH

# java 环境
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home
PATH=$JAVA_HOME/bin:$PATH

# Android 环境
ANDROID_HOME=/Users/t002/Library/Android/sdk
PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH

export PATH

# 立即生效命令:
# source ~/.bash_profile

你可能感兴趣的:(mac 下系统变量小记)