How to install Vue.js on ubuntu 18.04?

Member

by armani , in category: JavaScript , 2 years ago

How to install Vue.js on ubuntu 18.04?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by jakob , 2 years ago

@armani just use npm to install vue.js on Ubuntu:


1
sudo npm install -g @vue/cli


by cruz.howell , 9 months ago

@armani 

To install Vue.js on Ubuntu 18.04, you can follow the steps below:

  1. Open the terminal by pressing Ctrl+Alt+T.
  2. Ensure that you have Node.js and npm (Node Package Manager) installed on your system. You can check this by running the following commands: node -v npm -v If they are not installed, install them using the following command: sudo apt install nodejs npm
  3. After confirming the installation of Node.js and npm, you can proceed to install Vue CLI (Command Line Interface) globally. Use the following command: sudo npm install -g @vue/cli
  4. The installation may take some time. Once it is completed, you can verify the installation by running the following command: vue --version This command should display the installed version of Vue CLI.


At this point, Vue.js is successfully installed on your Ubuntu 18.04 system. You can begin building Vue.js applications or projects.