If you want to use contentful via cli, you should install bellow package. https://www.npmjs.com/package/contentful-cli
Integrate Contentful with Nuxt.js https://www.contentful.com/developers/docs/javascript/tutorials/integrate-contentful-with-vue-and-nuxt/
contentful space seed --template blog
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout the Nuxt.js docs.