Nasturtiums are best treated as an annual, although it may last a couple of seasons if it is mild over winter.
Growing Nasturtiums as a companion plant: These flowers are often used as a sacrificial crop, planted near brassicas to attract cabbage white butterflies away from cabbages, kale etc. It can work quite well, but we’d recommend netting your brassicas as well, for double protection!