Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to install Supabase CLI using npm.
Supabase
npm install -g supabase[1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'supabase-client' instead of 'supabase-cli'.
Forgetting the '-g' flag for global installation.
✗ Incorrect
The correct command to install Supabase CLI globally is 'npm install -g supabase-cli'.
2fill in blank
mediumComplete the command to initialize a new Supabase project in the current directory.
Supabase
supabase [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'start' instead of 'init' to initialize the project.
Trying to deploy before initializing.
✗ Incorrect
The 'supabase init' command initializes a new Supabase project in the current directory.
3fill in blank
hardFix the error in the command to log in to Supabase CLI.
Supabase
supabase [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'signin' which is not recognized by Supabase CLI.
Using 'auth' or 'connect' which are incorrect commands.
✗ Incorrect
The correct command to log in to Supabase CLI is 'supabase login'.
4fill in blank
hardFill both blanks to start the local Supabase development environment with Docker.
Supabase
supabase [1] [2]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'stop' instead of 'start'.
Using '--local' instead of '--docker' when Docker is intended.
✗ Incorrect
The command 'supabase start --docker' starts the local Supabase environment using Docker.
5fill in blank
hardFill all three blanks to deploy your Supabase project to the cloud.
Supabase
supabase [1] [2] [3]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'start' instead of 'deploy'.
Omitting the project reference flag or value.
✗ Incorrect
The full command to deploy is 'supabase deploy --project-ref your-project-ref'.