title: After command yarn global add @vue/cli vue is not found in my OS
body: <p>I want to move to vuejs 3 and tried to create new  vuejs 3 app and
  got error that vue is not found. I do :</p>
  <pre><code>$ npm -version
  6.14.8
  $ nodejs --version
  v14.12.0
  $ cd ../
  $ yarn global add @vue/cli
  yarn global v1.22.5
  [1/4] Resolving packages...
  warning @vue/cli &gt; @vue/cli-shared-utils &gt; @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
  warning @vue/cli &gt; @vue/cli-shared-utils &gt; request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
  warning @vue/cli &gt; @vue/cli-shared-utils &gt; @hapi/joi &gt; @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
  warning @vue/cli &gt; @vue/cli-shared-utils &gt; @hapi/joi &gt; @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
  warning @vue/cli &gt; @vue/cli-shared-utils &gt; @hapi/joi &gt; @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
  warning @vue/cli &gt; @vue/cli-shared-utils &gt; @hapi/joi &gt; @hapi/topo &gt; @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
  warning @vue/cli &gt; @vue/cli-shared-utils &gt; request &gt; har-validator@5.1.5: this library is no longer supported
  warning @vue/cli &gt; @vue/cli-shared-utils &gt; @hapi/joi &gt; @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
  warning @vue/cli &gt; @vue/cli-ui &gt; vue-cli-plugin-apollo &gt; nodemon &gt; chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
  warning @vue/cli &gt; @vue/cli-ui &gt; vue-cli-plugin-apollo &gt; nodemon &gt; chokidar &gt; fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
  warning @vue/cli &gt; globby &gt; fast-glob &gt; micromatch &gt; snapdragon &gt; source-map-resolve &gt; resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
  warning @vue/cli &gt; globby &gt; fast-glob &gt; micromatch &gt; snapdragon &gt; source-map-resolve &gt; urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
  [2/4] Fetching packages...
  info fsevents@1.2.13: The platform &quot;linux&quot; is incompatible with this module.
  info &quot;fsevents@1.2.13&quot; is an optional dependency and failed compatibility check. Excluding it from installation.
  [3/4] Linking dependencies...
  [4/4] Building fresh packages...
  success Installed &quot;@vue/cli@4.5.8&quot; with binaries:
  - vue
  Done in 26.33s.
  $ vue --version
  
  Command 'vue' not found, but can be installed with:
  
  sudo snap install vue
  
  $ vue create V3Y
  
  Command 'vue' not found, but can be installed with:
  
  sudo snap install vue
  </code></pre>
  <p>I reinstalled my kubuntu 18 about a month ago and have been working with vuejs2 app created before.
  But I did not create any new vuejs app and wonder iif mentioned</p>
  <p>I suppose that the command to install vue above is a wrong command.</p>
  <p>Is something misconfigured in my OS?</p>
  <p><strong>EDITED:</strong>
  I found usefull command :
  $ export PATH=&quot;$(yarn global bin):$PATH&quot;
  but creating new app with options selected :
  ❯ Default (Vue 3 Preview) ([Vue 3] babel, eslint)
  ❯ Yarn :</p>
  <p>I got error in the console :</p>
  <pre><code>Vue CLI v4.5.8
  Failed to check for updates
  ✨  Creating project in /mnt/_work_sdb8/wwwroot/lar/VApps/v3y.
    Initializing git repository...
  ⚙️  Installing CLI plugins. This might take a while...
  
  00h00m00s 0/0: :  ERROR  Error: Command failed: yarn config get npmRegistryServer
  ERROR: [Errno 2] No such file or directory: 'config'
  
  
  Error: Command failed: yarn config get npmRegistryServer
  ERROR: [Errno 2] No such file or directory: 'config'
  
  
      at makeError (/home/serge/.config/yarn/global/node_modules/execa/index.js:174:9)
      at /home/serge/.config/yarn/global/node_modules/execa/index.js:278:16
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
      at async PackageManager.getRegistry (/home/serge/.config/yarn/global/node_modules/@vue/cli/lib/util/ProjectPackageManager.js:194:21)
      at async PackageManager.setRegistryEnvs (/home/serge/.config/yarn/global/node_modules/@vue/cli/lib/util/ProjectPackageManager.js:235:22)
      at async PackageManager.runCommand (/home/serge/.config/yarn/global/node_modules/@vue/cli/lib/util/ProjectPackageManager.js:336:5)
      at async PackageManager.install (/home/serge/.config/yarn/global/node_modules/@vue/cli/lib/util/ProjectPackageManager.js:381:12)
      at async Creator.create (/home/serge/.config/yarn/global/node_modules/@vue/cli/lib/Creator.js:216:7)
      at async create (/home/serge/.config/yarn/global/node_modules/@vue/cli/lib/create.js:72:3)
  </code></pre>
  <p>Some wrong config in my OS?</p>
  <p>Thanks!</p>