title: How to install package from github repo in Yarn
body: <p>When I use <code>npm install fancyapps/fancybox#v2.6.1 --save</code>, so fancybox package at v2.6.1 tag will be installed. This behavior is described in <a href="https://docs.npmjs.com/cli/install" rel="noreferrer">docs</a></p>
  <p>I want to ask, how to do this with <code>yarn</code>?</p>
  <p>Is this command the right alternative? In <a href="https://yarnpkg.com/lang/en/docs/cli/add/" rel="noreferrer">yarn docs</a> isn't anything about this format.</p>
  <pre><code>yarn add fancyapps/fancybox#v2.6.1
  </code></pre>