"Bash: npm: command not found"의 두 판 사이의 차이

 
26번째 줄: 26번째 줄:


==같이 보기==
==같이 보기==
* [[npm install]]
* [[bash: node: command not found]]
* [[bash: node: command not found]]


[[분류: npm]]
[[분류: npm]]
[[분류: command not found]]
[[분류: command not found]]

2021년 12월 27일 (월) 11:49 기준 최신판

1 개요[ | ]

bash: npm: command not found
-bash: npm: command not found

2 사례1: node.js 설치된 경우[ | ]

Console
Copy
root@localhost:~# npm
-bash: npm: command not found
Console
Copy
root@localhost:~# node -v
v10.21.0

3 사례2: node.js 설치 안된 경우[ | ]

Console
Copy
root@tester:~/go/src/github.com/jmnote/hello/web# npm install
bash: npm: command not found
Console
Copy
root@tester:~/go/src/github.com/jmnote/hello/web# node -V
bash: node: command not found

4 같이 보기[ | ]