The answer to 'how to install GFCI outlet' is to replace a standard electrical outlet with a GFCI (ground fault circuit interrupter) outlet. A GFCI outlet is designed to protect against electric shock hazards by quickly shutting off power if a ground fault is detected.
To install a GFCI outlet, first turn off power to the circuit at the circuit breaker. Remove the existing outlet and identify the hot (black), neutral (white), and ground (bare copper or green) wires. Connect the GFCI outlet by matching the wires to the corresponding terminals, then secure the outlet in the electrical box. Test the GFCI outlet by pressing the 'test' button to ensure it is working properly.