Mac OS 터미널

    [Error fix] 'zsh: command not found: code' 오류 해결 (feat. 특정 폴더에서 VSCode 실행하기)

    # 문제 상황 특정 폴더에서 Visual Studio Code 를 실행시키기 위한 명령어를 실행시켰으나 다음과 같은 오류가 발생하며 실행되지 않는다. $ code . zsh: command not found: code # 해결 방안 터미널에서 비주얼 스튜디오 코드가 안 열릴때, 명령어를 찾을 때 사용하는 PATH에 code가 등록이 안돼서 생긴 일이다. 방법1. Visual Studio Code에서 Path 등록하기 Visual Studio Code 열기 Command Palette열기 (Show All Commands 단축키 Mac : cmd + shift + p / window : ctr + shift + p) Shell Command: Install 'code' command in PATH 입력 터..