# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate
# Set an environment variable
export DEPLOY_ENV=GH_PAGES
# Read an envvar
printenv DEPLOY_ENV
# Read all envvars
printenv
# delete a specific envvar
unset DEPLOY_ENV
For detailed explanation on how things work, check out Nuxt.js docs.