DEV Community

AKINRO OLAWALE
AKINRO OLAWALE

Posted on

12

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

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay