title: Local npm install doesn't create symlink to "bin" executables
body: <p>If I create a minimal <code>package.json</code> file:</p>
  
  <pre><code>{
    "name": "cli-test",
    "version": "1.0.0",
    "bin": "index.js",
    "main": "index.js"
  }
  </code></pre>
  
  <p>and an <code>index.js</code> file:</p>
  
  <pre><code>#!/usr/bin/env node
  console.log("Hello")
  </code></pre>
  
  <p>and run <code>npm install</code>, why doesn't <code>npm</code> create a <code>./node_modules/.bin/cli-test</code> symlink to my <code>index.js</code> file? <a href="https://docs.npmjs.com/files/package.json" rel="noreferrer">The package.json documentation</a> says this on "bin":</p>
  
  <blockquote>
    <p>On install, npm will symlink that file into <code>prefix/bin</code> for global installs, or <code>./node_modules/.bin</code>  for local installs.</p>
  </blockquote>
  
  <p>If I do <code>npm install -g</code>, a symlink is created, but I don't want a global install. I'm using node 6.10.3 and npm 3.10.10. Also tried with npm 5.0.4.</p>