- bash: firebase: command not found

I need to host a google firebase hosting site. I looked almost everywhere, but I got problems. I installed npm install - global firebase also npm install -g firebase-tools , but when I want to use the firebase command, it says: "command not found"

firebase-tools "- bash: firebase: command not found"

Firebase Hosting Task

https://github.com/firebase/firebase-tools/issues/46

these posts did not help

enter image description here

it's after sudo npm install - global firebase-tools

enter image description here

+4
source share
2 answers
alias firebase="`npm config get prefix`/bin/firebase"
+15

Firebase Tools ... npm firebase --save , npm install -g firebase-tools , , ., .

0

Source: https://habr.com/ru/post/1651019/


All Articles