Getting Yarn and Gridsome CLI to work and play nice with VSCode

Hi All,

I’m trying to install Yarn and do development on an existing Gridsome (Vue) application. I think I succeeded in installing both, but there are issues.

Here the output I get from the terminal:

~ >>> gridsome info                                                                   
  System:
    OS: Linux 5.9 Manjaro Linux
    CPU: (4) x64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
  Binaries:
    Node: 15.3.0 - /usr/bin/node
    Yarn: 1.22.10 - /usr/bin/yarn
  Browsers:
    Chrome: 87.0.4280.88
    Firefox: 83.0

~ >>> yarn --version                                                                  
1.22.10

In my working directory I can use yarn, but gridsome is an unknown command.
In the terminal of VS Code I cannot use both (unknown command).

Is there anyone who managed to install both and use it in VS Code?

Kind regards, Marco