0
0
Firebasecloud~10 mins

Firebase CLI setup - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to install the Firebase CLI globally using npm.

Firebase
npm install -g [1]
Drag options to blanks, or click blank then click option'
Afirebase-tools
Bfirebase-cli
Cfirebase
Dfirebase-sdk
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'firebase-cli' instead of 'firebase-tools'.
Trying to install 'firebase' which is the SDK, not the CLI.
2fill in blank
medium

Complete the command to log in to Firebase using the CLI.

Firebase
firebase [1]
Drag options to blanks, or click blank then click option'
Ainit
Blogout
Clogin
Ddeploy
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'firebase init' instead of 'firebase login'.
Using 'firebase deploy' which is for deployment, not login.
3fill in blank
hard

Fix the error in the command to initialize a Firebase project in the current directory.

Firebase
firebase [1]
Drag options to blanks, or click blank then click option'
Adeploy
Bconfigure
Cstart
Dinit
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'firebase deploy' instead of 'firebase init'.
Using 'firebase start' which is not a valid Firebase CLI command.
4fill in blank
hard

Fill both blanks to complete the command that deploys Firebase functions and hosting.

Firebase
firebase deploy --only [1],[2]
Drag options to blanks, or click blank then click option'
Afunctions
Bhosting
Cdatabase
Dstorage
Attempts:
3 left
💡 Hint
Common Mistakes
Including 'database' or 'storage' when only functions and hosting are needed.
Forgetting the comma between the features.
5fill in blank
hard

Fill all three blanks to complete the command that sets the active Firebase project to 'my-project'.

Firebase
firebase [1] [2] [3]
Drag options to blanks, or click blank then click option'
Ause
B--add
Cmy-project
D--alias
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--alias' instead of '--add'.
Placing the options in the wrong order.