DEV Community

AKINRO OLAWALE
AKINRO OLAWALE

Posted on

How to Add VSCode path to Mac path permanently

Image description

1. Open ~/.zshrc using the below command

vi ~/.zshrc

2. Add the following path

export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"

3. Source it using below command

source ~/.zshrc

Top comments (1)

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop

Nice! I generally use the command palette and Install « code » command in PATH