For application dependencies, npm will automatically update packages that your application requires, based on the information in the package.json
file. For more information on package.json
, see the npm documentation.
The below information is for updating the StrongLoop command-line tool.
Clean up old installations
If you installed StrongLoop software before 6 Aug 2014, enter these commands to clean up your installation:
$ npm uninstall -g strong-cli $ npm uninstall -g loopback-sdk-angular-cli
For information why this is necessary, see the StrongLoop blog post on the subject.
Then follow the instructions in Getting started with LoopBack to install.
If you installed after 6 Aug 2014 then update your installation with this command:
$ npm install -g strongloop
If you have a LoopBack 1.x app
Follow the instructions in Migrating apps to version 2.0 to move your application to version 2.
Updating your Node.js installation
To update your version of Node, simply reinstall Node as you did previously. See nodejs.org for details.