Front-End/React

visual studio code terminal, rm -rf ./node_modul/ 매개변수 를 ...

ducks228 2019. 6. 8. 14:46

visual studio code의 terminal 상에서 node_module폴더를 삭제하기 위해 명령어를 쳐도 rm -rf .\node_modules\ 

실행되지 않는다.

 

저 명령을 치기 위해선 bash 환경에서 사용가능하다.

 

1. ctrl + `(역싱글퀘테이션, 정식명칭: grave accent) => 터미널을 여는 단축키

2. ctrl + shift + p (open command palette)

3. Select Default Shell (이라고 쓴고 엔터)

4. 터미널의 + 버튼을 누른다.

5. 새로운 터미널이 bash 로 바뀌어있을것이다.

사용하면 된다.

 

참고 링크:

https://murra.tistory.com/36

https://stackoverflow.com/questions/42606837/how-do-i-use-bash-on-windows-from-the-visual-studio-code-integrated-terminal