title: How to point "latest" dist-tag to a previous version in npm?
body: <p>I have a published project with a few dist-tags: &quot;latest&quot;, &quot;dev&quot;, and &quot;beta&quot;.</p>
  <p>I want to know how to point &quot;latest&quot; to a previous version.
  I know how to bump the version by doing <code>npm version 2.4.7</code> or
  <code>npm version patch</code> and I know how to add dist-tags with <code>npm dist-tag add &lt;pkg&gt;@&lt;version&gt; &lt;tag&gt;</code>, but I've been scouring the internet for a way to point the &quot;latest&quot; tag to a previous version, and I've come up empty.</p>
  <p>I can't seem to find that info on the official docs at npmjs, and google's top search results are always about updating the version of npm itself. I want to know how to update the version of a package I'm publishing (specifically, how to change what the &quot;latest&quot; dist-tag points to).</p>
  <p>Thanks guys</p>
  <p>Edit: My best guess is <code>npm dist-tag add &lt;pkg&gt;@&lt;version&gt; &lt;existingTagName&gt;</code> but not sure if this has unwanted side effects.</p>