Today, I will show you how to install any Node.js package using its GitHub URL.

If you want the latest release of the package, execute the command below in your command line. In this example, I will be installing the lodash package.

If you want to install from a branch, tag, or commit, simply add the branch name, tag name, or commit hash to the URL after a hash symbol.

Now you have realized that you can easily install any Node.js package simply by knowing its GitHub URL.

Categorized in:

Tagged in:

, ,