title: How do you update "yarn" to the latest version, 1.13.0?
body: <p>I tried "npm update yarn -g" and "npm intall yarn -g", but the yarn verison is still 1.12.3. </p>
  
  <p>I run the command in a empty folder, please see below. Thank you.</p>
  
  <pre><code>Microsoft Windows [Version 10.0.17134.320]
  (c) 2018 Microsoft Corporation. All rights reserved.
  
  D:\test&gt;dir
   Volume in drive D is D
   Volume Serial Number is 18E2-7E00
  
   Directory of D:\test
  
  01/16/2019  10:38 PM    &lt;DIR&gt;          .
  01/16/2019  10:38 PM    &lt;DIR&gt;          ..
                 0 File(s)              0 bytes
                 2 Dir(s)  467,370,369,024 bytes free
  
  D:\test&gt;npm update yarn -g
  
  D:\test&gt;yarn -v
  1.12.3
  
  D:\test&gt;npm install yarn -g
  C:\Users\myuser\AppData\Roaming\npm\yarn -&gt; C:\Users\myuser\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js
  C:\Users\myuser\AppData\Roaming\npm\yarnpkg -&gt; C:\Users\myuser\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js
  + yarn@1.13.0
  updated 1 package in 0.469s
  
  D:\test&gt;yarn -v
  1.12.3
  
  D:\test&gt;npm -v
  6.4.1
  
  D:\test&gt;
  </code></pre>