From the course: Firebase Essential Training
Install Firebase CLI tools - Google Cloud Tutorial
From the course: Firebase Essential Training
Install Firebase CLI tools
- [Instructor] Okay, so now that we've created a Firebase project and hooked up our web app to it, the last thing we need to do in order to get ourselves setup is install the Firebase Command-Line Interface. This is a pretty straightforward process. The first thing we'll need to do is open up a terminal and there are two different commands that both do basically the same thing. We can either run npm install -g firebase-tools and note that if you're using Windows, this is really the only way to do this. Or we can run curl - lowercase s, capital L, https://firebase.tools | bash and hit enter. And note that depending on your local permissions, you may or may not have to run your command with pseudo and put in your password. Either way, once that's finished installing, you should now have access to the Firebase command in your console. So what we need to do now is connect our local machine to our actual Firebase account by running firebase login and hitting enter. And we'll answer either yes or no to that. And what that's going to do is open up a browser window for you, that'll either log you in automatically or ask you to put in your password. And we're going to click Allow. And once you've done that, you should be successfully logged in to Firebase locally. So we can now run commands like firebase projects:list. And this will just show us a basic list of our projects. Right now, we only have one. And that's it. We've got the Firebase CLI installed and working.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.