"npm ERR! Callback called more than once." when CLI being installed in Visual Studio Code

Is it possible to run ‘particle setup’ from the command line, and have the Visual Studio Code install ‘see’ that version?
Thanks.