Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update example documentation. This closes #1

  • Loading branch information...
commit f251b442e5c5eb72f3d9719d3692cae549a4f9f8 1 parent dfe8c55
@isaacs isaacs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -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`.
Please sign in to comment.
Something went wrong with that request. Please try again.