Ubuntu修改环境变量 疏桐 2020-02-23 1,425 阅读1分钟 sudo vim /etc/profile 加入:export PATH=<你要加入的路径>:$PATH就可以了。 终端输入:echo $PATH 可以查看环境变量