How do I set up XAMPP to allow me to download plugins and themes?
A common issue related to this is that XAMPP can’t write to your wp-content directory. If you don’t know how to change this, you can edit wp-config.php and add this line: define(‘FS_METHOD’,’direct’); For detailed information, read wp-config.php documentation.