npm 1.0 is here, and these are the highlights:
- Global vs local installation
- ls displays a tree, instead of being a remote search
- No more “activation” concept – dependencies are nested
- Updates to link command
- Install script cleans up any 0.x cruft it finds. (That is, it removes old packages, so that they can be installed properly.)
- Simplified “search” command. One line per package, rather than one line per version.
- Renovated “completion” approach
- More help topicsSimplified folder structure
Here’s how to install the new version:
Run this command:
curl http://npmjs.org/install.sh | shThis will prompt to ask you if it’s ok to remove all the old 0.x cruft. If you want to not be asked, then do this:
curl http://npmjs.org/install.sh | clean=yes shOr, if you want to not do the cleanup, and leave the old stuff behind, then do this:
curl http://npmjs.org/install.sh | clean=no sh
There won’t be any changes, since there’s been a code freeze:
npm will not have any major feature enhancements or architectural changes for at least 6 months. There are interesting developments planned that leverage npm in some ways, but it’s time to let the client itself settle. Also, I want to focus attention on some other problems for a little while.
Now, get to it!
[via Node Blog]
Speak your mind...