- install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
- install node (current firebase runtime is 12)
nvm install 12
- install firebase-cli
npm install -g firebase-tools
- login to firebase
firebase login
- init functions
firebase init functions