Skip to content

Instantly share code, notes, and snippets.

@ledil
Last active July 21, 2017 10:22
Show Gist options
  • Save ledil/a46056e8e237174c2b7fc5d32e8ceffe to your computer and use it in GitHub Desktop.
Save ledil/a46056e8e237174c2b7fc5d32e8ceffe to your computer and use it in GitHub Desktop.
Cloud9 upgrade npm and install react via create-react-app

install latest version of node

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
nvm install v6.11

install latest version of npm

npm cache clean -f
npm install -g n
sudo n stable

install react app space

npm install -g create-react-app
create-react-app my-app
cd my-app
npm install --save redux redux-saga react-{router,redux}
npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment