Here, in this tutorial, we will see how to check our Nuxt Version quickly. It helps us when we need to upgrade it or check our dependencies with different npm modules.
Table of Contents
If you have an existing nuxtjs project and you want to check which version of nuxt you are using, you can find it out using these two simple methods:
Method 1: Using Terminal
Open your cmd or your terminal inside your nuxt application directory and run the following command:
npm list nuxt
OUTPUT:
-- [email protected]
Method 2 : Check in your package.json
You can find out your nuxt version very easily just by checking your package.json file.
{
"name": "nuxt-template",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"core-js": "^3.9.1",
"nuxt": "^2.15.3",
},
"devDependencies": {}
}
There you can see under dependencies, nuxt version is “^2.15.3”.