Ionic install not working after RC.0

npm install -g ionic is showing errors …i previously had ionic beta11 .
this is the rror message i am getting

npm WARN deprecated lodash@2.1.0: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use ‘npm ls graceful-fs’ to find it in the tree.
C:\Users\BhatRitesh\AppData\Roaming\npm
`-- (empty)

npm WARN In ionic@2.1.0 replacing bundled version of semver with semver@4.2.0
npm WARN In ionic@2.1.0 replacing bundled version of ionic-app-lib with ionic-app-lib@2.1.0-beta.1
npm ERR! Windows_NT 10.0.14393
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Users\BhatRitesh\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v6.6.0
npm ERR! npm v3.10.6
npm ERR! path C:\Users\BhatRitesh\AppData\Roaming\npm\node_modules.staging\ansi-ca9f1d9e
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename ‘C:\Users\BhatRitesh\AppData\Roaming\npm\node_modules.staging\ansi-ca9f1d9e’ -> 'C:\Users\BhatRitesh\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi’
npm ERR! enoent ENOENT: no such file or directory, rename ‘C:\Users\BhatRitesh\AppData\Roaming\npm\node_modules.staging\ansi-ca9f1d9e’ -> 'C:\Users\BhatRitesh\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi’
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\BhatRitesh\npm-debug.log
npm ERR! code 1

From the docs :

Important: if you have installed the beta cli you should run npm uninstall -g ionic first. You need version 2.1.0 for this release. Check your cli version by running ionic -v in the command line.

Steps to upgrade to RC0

thanks
:slight_smile: