Luckily, The awesome Vue.js Team has created a command line too, called Vue CLI,l that comes with everything setup for us.
So, in this lesson, we’ll learn how to install Vue CLI and how to create a new Vue.js project. We also get a guided tour to understand what all the directories in our newly created project are for.
Install Vue CLI
npm install -g @vue/cli # OR yarn global add @vue/cli
To use Single File Components we need to have Node.js and a package manager like NPM or Yarn installed. NPM is installed with Node.js.