Backend 3 installs

Firebase Local Environment Setup

by firebase/agent-skills

Bare minimum INITIAL setup for getting started with Firebase (Node.js, CLI installation, first-time login). Use ONLY for first-time setup. For updating,…

Skill content

Firebase Local Environment Setup

This skill documents the bare minimum setup required for a full Firebase experience for the agent. Before starting to use any Firebase features, you MUST verify that each of the following steps has been completed.

1. Verify Node.js

-

Action: Run node --version.

-

Handling: Ensure Node.js is installed and the version is >= 20. If Node.js is missing or < v20, install it based on the operating system:

Recommended: Use a Node Version Manager
This avoids permission issues when installing global packages.

For macOS or Linux:

- Guide the user to the official nvm repository.

- Request the user to manually install nvm and reply when finished. Stop and wait for the user's confirmation.

- Make nvm available in the current terminal session by sourcing the appropriate profile:

# For Bash
source ~/.bash_profile
source ~/.bashrc