firebase init functions

Category: Firebase & Firestore

firebase init functions

Initialize only Cloud Functions

Scaffolds the functions/ directory with a package.json and an index.js or index.ts entry point, and asks whether to use TypeScript, ESLint, and npm dependencies. It also registers the functions codebase in firebase.json. Deploy the resulting code with firebase deploy --only functions.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.