The answer to 'how to install smoke detector' is to follow these steps carefully. First, turn off the power to the area where you will be installing the smoke detector. Next, locate the junction box or electrical box where the detector will be mounted. Use a screwdriver to remove the cover plate and expose the wiring. Connect the positive (hot) wire from the detector to the positive wire in the junction box, and the negative (neutral) wire to the negative wire. Be sure to connect the ground wire as well. Finally, secure the smoke detector to the junction box and replace the cover plate. Turn the power back on and test the detector to ensure it is working properly.
It's important to install smoke detectors in all bedrooms, hallways, and common areas of your home to ensure early warning in the event of a fire. Smoke detectors should be tested monthly and the batteries replaced twice a year.