Update NodeJS version

  • All of the blank VMs on cloud9 have nvm pre installed.
  • List all the available versions from the official site.
nvm ls-remote
  • Choose to install the latest version
nvm install v10.6.0
  • Choose to use the latest version
nvm use v10.6.0
  • Check the version in use
node --version


npm install -g @angular/cli
  • Create a new project named my-project (you can use any name you need)
ng new my-project
cd my-project
  • Change start script in package.json
  "scripts": {
    "start": "ng serve --host $IP  --port $PORT --public-host $C9_HOSTNAME",
  • On IDE menu, click on Preview > Preview Running Application to get the preview URL.


Everything works perfectly expect that the live reload, sometimes, is slower than usual.