First things first, do npm install chalk Basic usage var chalk = require('chalk'); console.log( chalk.underline('Hello') + ' World !') ); Chaining console.log( chalk.red.bgWhite.bold('Hello world!') ); See all styles in action Object.keys(chalk.styles).forEach(function(style) { if( style !== "reset") { process.stdout.write(chalk[style](style) + ' '); } }); Check out more