Not able to install ionic framework,please help

npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: 'npm help config’
npm ERR! tar.unpack unzip error C:\Users\TechN1\AppData\Local\Temp\npm-208-a735f
137\registry.npmjs.org\node-sass-\node-sass-3.3.3.tgz
npm ERR! tar.unpack untar error C:\Users\TechN1\AppData\Local\Temp\npm-208-a735f
137\registry.npmjs.org\node-sass-\node-sass-3.3.3.tgz
npm ERR! tar.unpack unzip error C:\Users\TechN1\AppData\Local\Temp\npm-208-a735f
137\registry.npmjs.org\winston-\winston-1.1.1.tgz
npm ERR! tar.unpack unzip error C:\Users\TechN1\AppData\Local\Temp\npm-208-a735f
137\registry.npmjs.org\ionic-cordova-lib-\ionic-cordova-lib-5.1.10.tgz
npm ERR! tar.unpack untar error C:\Users\TechN1\AppData\Local\Temp\npm-208-a735f
137\registry.npmjs.org\ionic-cordova-lib-\ionic-cordova-lib-5.1.10.tgz
npm ERR! Windows_NT 6.1.7600
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5

npm ERR! unexpected end of file
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! E:\IonicProject\npm-debug.log

Check version of NodeJS using node -v command. If you are using the stable version of node, then the installation should work.
If node js is a stable version and all the ways of trying fail, then uninstall and re-install node js. And then install ionic. I had faced the same issue and had manage to resolve it this way.

Windows is not the best platform for NodeJS.
Don’t install a recent version of Node, prefer 0.12.x until 4.x or 5.x get better (despite their version numbers 4.x and 5.x and very recent)
Don’t install it in a folder that require admin rights like c:\programs and is not too deeply nested, something like c:\node