Set global $PATH environment variable in VS Code

后端 未结 8 1865
温柔的废话
温柔的废话 2020-12-14 02:28

I\'m defining a custom $PATH environment variable in my ~/.bash_profile (on a Mac), like so:

PATH=\"$HOME/.cargo/bin:$PATH:$HOME/bi         


        
8条回答
  •  粉色の甜心
    2020-12-14 03:03

    What did the trick in my case (Linux Mint 19.3 Cinnamon, VS code installed via snap) was to put my appended PATH in ~/.profile . Since this file is read at the beginning of a user session, don't forget to logout/login or reboot after editing this file.

提交回复
热议问题