How to see the version of Swift in your machine

You can open your terminal and run the following command

You will see following output