[Vuejs]-Command 'vue' not found, did you mean: command 'vpe' from deb texlive-latex-extra Try: sudo apt install <deb name> on UBUNTU

2👍

HIS FIXED THE ISSUE FOR ME:

After running

sudo npm install -g @vue/cli

I ran

sudo nano $HOME/.profile

and pasted the following line

export PATH=$PATH:/home/chike/.npm-global/bin

after writing the code, next thing I did was Ctrl + O, ENTER and Ctrl + X then wrote

vue init webpack myapp

👤Chike

2👍

For me sudo helps to solve it. Try to use this command in terminal without any additional commands, just:

sudo yarn global add @vue/cli

Then you can check the version and all will work correctly.

vue --version

1👍

If you want to install Vue CLI use one of those commands:

npm:

npm install -g @vue/cli

yarn:

yarn global add @vue/cli

Leave a comment