npm install axios vue js code example Example 1: install axios vue //Install Axios from terminal npm install axios Example 2: vue axios yarn yarn add axios