how to install the arduino plugin successfully??

Hi Ribush. There is currently a surge of reports of problems with the Arduino Web Editor. These reports are all about compiling so it may be the plugin problem you're having is unrelated but I thought at least you should know about it.

Keep in mind that you have the option (unless you're using a ChromeBook) of using the regular Arduino IDE downloaded from:

until the issue with Arduino Web Editor is resolved.