2

I've made a fork of some repository and I need to use that fork as a dependency for my project.

Right now I do:

 npm install angular --save

How do I change this to install a fork?

1 Answer 1

6

From the NPM documentation for the install command:

npm install <git remote url>

Installs the package from the hosted git provider, cloning it with git. First it tries via the https (git with github) and if that fails, via ssh.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.