Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I install firebase CLI using yarn as package manager?

Can I install firebase CLI using yarn as package manager? Actually i've tried to search for it but instead of finding a command to install firebase tools using yarn I found a command that simply installs firebase using yarn

this is the command :

yarn add firebase

that's why i'm confused is it same? or is it not possible to install firebase tools using yarn as a package manager?

like image 731
Abdul Hanan Asif Avatar asked Mar 03 '26 11:03

Abdul Hanan Asif


1 Answers

The correct way to install firebase cli is to install the firebase-tools package.

yarn add firebase-tools

Other options are listed in the official documentation: https://firebase.google.com/docs/cli

like image 124
Paul Weber Avatar answered Mar 06 '26 01:03

Paul Weber