install vue
snippet in javascript

install vue-cli

user7182

npm install -g vue-cli    //make sure you have node and npm installed 
vue init webpack <appname>  //  eg:  vue init webpack myapp
cd <appname>               // cd myapp
npm install
npm run dev  //server will start in port 8080

vue cli

user6382

npm install -g @vue/cli

install vue

user6815

npm install -g @vue/cli
//to see the version installed
vue --version 

vuejs cdn

user8002

/*for development ===>*/ <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
/*for production ===>*/ <script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script>

vue cdn

user8531

<script type="module">
  import Vue from 'https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.esm.browser.js'
</script>