On the page referred by @compnerd the installation is described. Once things got installed, you can forget about the installation page, you then use Swift via the command line or with Visual Studio Code which is not "Visual Studio" but a different product from Microsoft. See above: