The cli Property

Nuxt.js lets you customize the CLI configuration.


  • Type Array

Add a message to the CLI banner.

cli: {
  badgeMessages: ['Hello World!']


  • Type: String
    • Default: 'green'

Change the color of the 'Nuxt.js' title in the CLI banner.

Available colors:

black, red, green, yellow, blue, magenta, cyan, white, gray, redBright, greenBright, yellowBright, blueBright, magentaBright, cyanBright, whiteBright

export default {
  cli: {
    bannerColor: 'yellow'

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!

Platinum Sponsors

StoryblokMoovwebShip Shape Support Us