configure pug in express code example Example 1: pug node js express app.set('view engine', 'pug') Example 2: pug node js express npm install pug