<TS> zsh: command not found: tsc

·2023년 8월 21일
0

TypeScript

목록 보기
2/8

(Mac M1 환경입니다.)

tsc --init으로 ts 환경설정을 할 때 아래와 같은 오류를 마주하셨나요?

zsh: command not found: tsc

해결방안

  1. brew install typescript
  2. npm i typescript -g

하나씩 해보시고 tsc --version으로 제대로 깔렸는지 확인하시면 됩니다.

profile
- 배움에는 끝이 없다.

0개의 댓글

Powered by GraphCDN, the GraphQL CDN