The answer to 'how to replace electrical meter' is that you should generally hire a licensed electrician to replace your home's electrical meter. Electrical meters are connected to the main power supply and require specialized knowledge and equipment to replace safely.
Attempting to replace the meter yourself can be extremely dangerous and is often not permitted by local utility companies. A licensed electrician has the training and tools to properly disconnect power, install the new meter, and ensure everything is working correctly and up to code.