When I use npm install fancyapps/fancybox#v2.6.1 --save, so fancybox package at v2.6.1 tag will be installed. This behavior is described in docs
npm install fancyapps/fancybox#v2.6.1 --save
I want
For GitHub (or similar) private repository:
yarn add 'ssh://git@github.com:myproject.git#' npm install 'ssh://git@github.com:myproject.git#'