The default Terminal app on Mac shows these options in its menu.
In short, use CMD+K.
Open Edit and see:
As of Feb 2023.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: