Cloud9 local development SSH server gist

Use this script to install cloud9

curl -L https://raw.githubusercontent.com/c9/install/master/install.sh | bash

 

On Ubuntu 16.04, add to ~/.bash_profile if not already put there by the install script

export NVM_DIR=”/home/cloud9/.nvm”
[ -s “$NVM_DIR/nvm.sh” ] && . “$NVM_DIR/nvm.sh”  # This loads nvm

$which node
/home/cloud9/.nvm/v0.10.46/bin/node

Enter the node path into the path field when creating the cloud9 ssh workspace.

 

References:

https://gist.github.com/RIAEvangelist/6335743