npm -g adds package to C:\usr\local instead of C:\Users\{User}\AppData\Roaming\npm

I'm trying to working with ionic framework but i get stuck when install ionic via npm

npm install -g ionic

I try $ ionic but it always show "ionic is not recognized as an internal or external command" error. Then I found that ionic was added into C:\usr\local instead of C:\Users{User}\AppData\Roaming\npm.

I's using Windows 8.1 and I also add C:\Users{User}\AppData\Roaming\npm into PATH and restart machine. Please help me.

I can temporally fix this issue by copy all folders , files in C:\usr\local instead and paste into C:\Users{User}\AppData\Roaming\npm.

But I still wonder why I get this issue. Thanks guys.

I am also getting a similar issue, when using command npm install, it says

"Error: ENOENT, stat 'c:\usr\local' " I tried with version 0.10.36 and also 0.10.34 version of the node.js.

Its not at all creating a folder in C:\Users{User}\AppData\Roaming\ with name npm.