Permalink
Browse files

Update example documentation. This closes #1

  • Loading branch information...
isaacs committed Mar 7, 2010
1 parent dfe8c55 commit f251b442e5c5eb72f3d9719d3692cae549a4f9f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -237,7 +237,7 @@ To use this, supply a `bin` field in your package.json which is a map of command
For example, npm has this:
- { "bin" : { "npm" : "./cli" } }
+ { "bin" : { "npm" : "./cli.js" } }
So, when you install npm, it'll create a symlink from the `cli.js` script to `/usr/local/bin/npm-version`. Then, when you activate that version, it'll create a symlink from `/usr/local/bin/npm-version` to `/usr/local/bin/npm`.

0 comments on commit f251b44

Please sign in to comment.