Sometime while installing a plugin you see a popup that ask for FTP credentials. You can disable this via wp-config.php
Add this code in wp-config.php
define('FS_METHOD','direct');
What does ‘FS_METHOD’ do?
This bypasses WordPress’s recurring prompts, and allows auto-updates of your files to happened.
Where is the location of wp-config.php file?
This file is located at the root folder of wordpress installation directory.