본문 바로가기

프로그래밍 공부/백엔드

starting Node and exit the node mode

728x90

starting Node

명령어: node 엔터

$로 시작되던 라인이 >로 바뀌면 코딩 시작 가능

 

index.js 파일을 노드로 터미널에 불러오기

명령어: node index.js 엔터

 

 

exit 

명령어: .exit

또는 ctrl+c 두번

하면 node 모드 해제