app.set('view engine', 'ejs'); code example Example: app.set("view engine", "ejs"); // set the view engine to ejs app.set('view engine', 'ejs');