~/usr/* is not unusual in *nix environments where / is intended to remain fixed (like on the iPhone), or where /home is large (like a RAID/NFS mount), or the user wishes to install a user specific package (where /usr is intended for system-wide packages and /opt is intended for system specific packages). CRUX Linux does a similar thing (temporarily) when building packages[1]. Xcode uses a similar technique to allow it to support several different platforms (iOS 6/7, OSX 10.7/8/9) on one machine.
[1] http://crux.nu/Main/Handbook3-0#ntoc21 -L On Fri, Jan 31, 2014 at 5:37 PM, Ryan Schmidt <[email protected]> wrote: > > On Jan 31, 2014, at 10:51, Steve Husting wrote: > >> According to this page, >> http://docs.phonegap.com/en/3.3.0/guide_cli_index.md.html#The%20Command-Line%20Interface, >> we download Node.js at http://nodejs.org/download/ to download and install >> node.js. >> >> I did so, choosing the Mac OS X Universal, opened Finder and found node in >> ~/usr/local/bin, and made sure it was in .bash_profile: >> >> #brew, cordova, github, ios-sim, node, npm, phonegap >> export PATH=${PATH}:~/bin >> export PATH=${PATH}:~/usr/local/bin >> >> Nevertheless, in Terminal, node -v results in "$ -bash: node: command not >> found" >> >> What step am I missing? (This is in Mac OS X Mavericks. This new OS install >> seems to have broken my dev environment and I'm repairing it.) > > As it says on the first screen when you run the node installer: > > "This package will install node and npm into /usr/local/bin" > > Not ~/usr/local/bin. I've never heard of any installer installing to > ~/usr/anything; that would be a weird location for an installer to install to. > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
