# Need help installing ionic on OS X 10.11

**URL:** <https://forum.ionicframework.com/t/need-help-installing-ionic-on-os-x-10-11/38902>\
**Category:** ionic-v1\
**Created:** [December 10, 2015, 9:00am UTC](https://forum.ionicframework.com/t/need-help-installing-ionic-on-os-x-10-11/38902 "2015-12-10T09:00:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VolvoOlympian](https://avatars.discourse-cdn.com/v4/letter/v/3be4f8/32.png) [@VolvoOlympian](https://forum.ionicframework.com/u/VolvoOlympian)\
**Post date:** [December 10, 2015, 9:00am UTC](https://forum.ionicframework.com/t/need-help-installing-ionic-on-os-x-10-11/38902/1 "2015-12-10T09:00:05Z")

</div>

When installing ionic with `npm install -g cordova ionic` I get this error, but I am using node v4 not v5:

> spawn-sync@1.0.14 postinstall /usr/local/lib/node\_modules/ionic/node\_modules/ionic-app-lib/node\_modules/cross-spawn/node\_modules/spawn-sync  
> node postinstall

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied  
path.js:424  
var path = (i \>= 0) ? arguments[i] : process.cwd();  
^

Error: EACCES: permission denied, uv\_cwd  
at Error (native)  
at Object.posix.resolve (path.js:424:50)  
at startup (node.js:93:32)  
at node.js:963:3

> node-sass@3.4.2 install /usr/local/lib/node\_modules/ionic/node\_modules/ionic-app-lib/node\_modules/node-sass  
> node scripts/install.js

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied  
path.js:424  
var path = (i \>= 0) ? arguments[i] : process.cwd();  
^

Error: EACCES: permission denied, uv\_cwd  
at Error (native)  
at Object.posix.resolve (path.js:424:50)  
at startup (node.js:93:32)  
at node.js:963:3  
npm WARN engine cordova-js@4.0.0: wanted: {“node”:“~0.10.x”} (current: {“node”:“4.2.3”,“npm”:“2.14.7”})  
/usr/local/bin/cordova → /usr/local/lib/node\_modules/cordova/bin/cordova  
npm WARN engine xmlbuilder@2.2.1: wanted: {“node”:“0.8.x || 0.10.x”} (current: {“node”:“4.2.3”,“npm”:“2.14.7”})  
npm ERR! Darwin 15.0.0  
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “-g” “cordova” “ionic”  
npm ERR! node v4.2.3  
npm ERR! npm v2.14.7  
npm ERR! code ELIFECYCLE

npm ERR! spawn-sync@1.0.14 postinstall: `node postinstall`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the spawn-sync@1.0.14 postinstall script ‘node postinstall’.  
npm ERR! This is most likely a problem with the spawn-sync package,  
npm ERR! not with npm itself.  
npm ERR! Tell the author that this fails on your system:  
npm ERR! node postinstall  
npm ERR! You can get their info via:  
npm ERR! npm owner ls spawn-sync  
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:  
npm ERR! /Users/myself/npm-debug.log
