Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dotherightthing/591d2307a595ec2673f9e2fa047fdd94 to your computer and use it in GitHub Desktop.
Save dotherightthing/591d2307a595ec2673f9e2fa047fdd94 to your computer and use it in GitHub Desktop.
[Bower install from Github, Bitbucket etc] The correct syntax to use. #git

Bower install from Github, Bitbucket etc

Created: 2017.04.13

Github

A Github download URL.

When clicking Clone or download, Github provides this URL:

[email protected]:REPO_OWNER/REPO_NAME.git

The correct syntax for bower install is:

bower install https://github.com/REPO_OWNER/REPO_NAME.git --save

Bitbucket

A Bitbucket download URL.

Bitbucket provides this URL:

[email protected]:REPO_OWNER/REPO_NAME.git

The correct syntax for bower install is:

bower install https://bitbucket.org/REPO_OWNER/REPO_NAME.git --save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment