TIL

7월 26일 TIL - Mac code 명령어 작동 안되는 경우 해결법

양죠니 2023. 7. 26. 20:53

code . 명령어 안먹을 때 해결법

 

1. visual studio code 실행하기

2. command palatte 열기 (cmd + shift + p)

3. palette에서 "shell command" 입력 후 "install code command in PATH" 클릭

4. 터미널 껐다 다시 키면 끝 ~ !

 

 

https://stackoverflow.com/questions/29955500/code-is-not-working-in-on-the-command-line-for-visual-studio-code-on-os-x-ma?answertab=trending#tab-top 

 

"code ." is not working in on the command line for Visual Studio Code on OS X/Mac

The command code . doesn't work in this manual. All the other steps before that worked. How can I call the Visual Studio Code in an OS X terminal? pwd /Users/mona/nodejs/myExpressApp code . -bash:

stackoverflow.com