The answer to 'how to install rewiring' is that rewiring an entire home is a major electrical project that is best handled by a licensed and experienced electrician. Rewiring involves completely replacing the electrical wiring, outlets, switches, and other components throughout the home to bring the electrical system up to current safety standards.
Rewiring is a complex and potentially dangerous job that requires specific expertise and tools. It's not recommended for homeowners to attempt this project on their own, as improper wiring can lead to fire hazards, shocks, and other serious safety issues. Hiring a professional electrician is the safest way to ensure the job is done correctly and up to code.