01 - Preheat oven to 350°F (175°C). Line a baking sheet with parchment paper.
02 - In a large bowl, beat the butter, brown sugar, and granulated sugar until light and creamy.
03 - Mix in the mashed bananas, egg, and vanilla extract until well combined.
04 - In a separate bowl, whisk together rolled oats, flour, baking soda, cinnamon, and salt.
05 - Gradually add the dry ingredients to the wet ingredients, mixing until just combined.
06 - Fold in chocolate chips or walnuts if using.
07 - Drop tablespoon-sized portions of dough onto the prepared baking sheet, spacing about 2 inches apart.
08 - Bake for 10–12 minutes or until cookies are golden at the edges but still soft in the center.
09 - Let cookies cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.