Como instalar o Firebase no Ubuntu

npm install -g npm@latest #make sure you have the latest version of npm installed

npm i -g firebase-tools #Installs firebase tools globally
npm i firebase #Installs firebase to your current project
Q_Q