In the terminal: $ ng build --prod $ npm install -g firebase-tools $ firebase login $ firebase init //choose dist/<project-name> as public directory //index.html should not be overwritten $ firebase deploy