installing firebase code example Example 1: firebase cli windows npm install -g firebase-tools Example 2: npm firebase npm i firebase