Not able to install Appium on windows 10

Can some one help me to install appium.
I have node.js installed and npm installed to the latest version. But not able to install appium
getting error - " request to https://registry.npmjs.org/gentle-fs failed "
why should i set proxy when my network doesnt have proxy enabled??