<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to install npm package from bitbucket private repository]]></title><description><![CDATA[<p dir="auto">I build a npm package for my future projects , but i don't know how to install that package from bitbucket , please tell me the process.</p>
]]></description><link>https://lankadevelopers.lk/topic/542/how-to-install-npm-package-from-bitbucket-private-repository</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 17:25:26 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/542.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Mar 2020 15:51:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to install npm package from bitbucket private repository on Mon, 30 Mar 2020 19:54:19 GMT]]></title><description><![CDATA[<p dir="auto">Declare dependencies in your nodejs app package.json:</p>
<pre><code>"dependencies": {
   "modulename":"git+https://lankadevelopers@bitbucket.org/lanakdevelopers/modulename.git",
   "ejs": "1.0.0"
}
</code></pre>
<p dir="auto">Then follow below steps</p>
<ul>
<li>Turn on git cache, keep password in the cache for a certain period of time</li>
</ul>
<pre><code>git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=3600'
</code></pre>
<ul>
<li>Access your private repository once, type your bitbucket password when prompted</li>
</ul>
<pre><code>git ls-remote https://lankadevelopers@bitbucket.org/lankadevelopers/modulename.git
</code></pre>
<p dir="auto">Now you can install packages using <strong>npm install</strong></p>
]]></description><link>https://lankadevelopers.lk/post/3216</link><guid isPermaLink="true">https://lankadevelopers.lk/post/3216</guid><dc:creator><![CDATA[root]]></dc:creator><pubDate>Mon, 30 Mar 2020 19:54:19 GMT</pubDate></item></channel></rss>