- Install a local server (Mac: MAMP, PC:XAMPP or WAMP).
- Create a new database.
- Download WordPress from wordpress.org and extract the files to a new folder under the htdocs folder.
- Rename the wp-config-sample.php file to wp-config.php and update the database details according to your local server.
- Run wp-admin/install.php and follow the instructions to install WordPress.
Feel free to share