how to get version code in swift 5 code example Example: How do I see which version of Swift I'm using // Open the Terminal and write: swift -version