<!doctype html><html><title>npm-bin</title><metahttp-equiv="content-type"value="text/html;utf-8"><linkrel="stylesheet"type="text/css"href="../../static/style.css"><linkrel="canonical"href="https://www.npmjs.org/doc/api/npm-bin.html"><script async=truesrc="../../static/toc.js"></script><body><divid="wrapper"><h1><ahref="../api/npm-bin.html">npm-bin</a></h1><p>Display npm bin folder</p><h2id="synopsis">SYNOPSIS</h2><pre><code>npm.commands.bin(args, cb)</code></pre><h2id="description">DESCRIPTION</h2><p>Print the folder where npm will install executables.</p><p>This function should not be used programmatically. Instead, just referto the <code>npm.bin</code> member.</p></div><tableborder=0cellspacing=0cellpadding=0id=npmlogo><tr><tdstyle="width:180px;height:10px;background:rgb(237,127,127)"colspan=18> </td></tr><tr><tdrowspan=4style="width:10px;height:10px;background:rgb(237,127,127)"> </td><tdstyle="width:40px;height:10px;background:#fff"colspan=4> </td><tdstyle="width:10px;height:10px;background:rgb(237,127,127)"rowspan=4> </td><tdstyle="width:40px;height:10px;background:#fff"colspan=4> </td><tdrowspan=4style="width:10px;height:10px;background:rgb(237,127,127)"> </td><tdcolspan=6style="width:60px;height:10px;background:#fff"> </td><tdstyle="width:10px;height:10px;background:rgb(237,127,127)"rowspan=4> </td></tr><tr><tdcolspan=2style="width:20px;height:30px;background:#fff"rowspan=3> </td><tdstyle="width:10px;height:10px;background:rgb(237,127,127)"rowspan=3> </td><tdstyle="width:10px;height:10px;background:#fff"rowspan=3> </td><tdstyle="width:20px;height:10px;background:#fff"rowspan=4colspan=2> </td><tdstyle="width:10px;height:20px;background:rgb(237,127,127)"rowspan=2> </td><tdstyle="width:10px;height:10px;background:#fff"rowspan=3> </td><tdstyle="width:20px;height:10px;background:#fff"rowspan=3colspan=2> </td><tdstyle="width:10px;height:10px;background:rgb(237,127,127)"rowspan=3> </td><tdstyle="width:10px;height:10px;background:#fff"rowspan=3> </td><tdstyle="width:10px;height:10px;background:rgb(237,127,127)"rowspan=3> </td></tr><tr><tdstyle="width:10px;height:10px;background:#fff"rowspan=2> </td></tr><tr><tdstyle="width:10px;height:10px;background:#fff"> </td></tr><tr><tdstyle="width:60px;height:10px;background:rgb(237,127,127)"colspan=6> </td><tdcolspan=10style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr><tr><tdcolspan=5style="width:50px;height:10px;background:#fff"> </td><tdstyle="width:40px;height:10px;background:rgb(237,127,127)"colspan=4> </td><tdstyle="width:90px;height:10px;background:#fff"colspan=9> </td></tr></table><pid="footer">npm-bin — npm@2.1.3</p>