but Swift still is not available, swift -version returns nothing:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Users\purpln> swift.exe -version
PS C:\Users\purpln> where.exe swift
C:\Users\purpln\AppData\Local\Programs\Swift\Toolchains\6.1.2+Asserts\usr\bin\swift.exe
PS C:\Users\purpln> C:\Users\purpln\AppData\Local\Programs\Swift\Toolchains\6.1.2+Asserts\usr\bin\swift.exe -version
PS C:\Users\purpln> swift -version
PS C:\Users\purpln>
libraries installed:
MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (v14.44-17.14)
MSVC v143 - VS 2022 C++ x64/x86 build tools (v1444-17.14)
Windows 11 SDK (10.0.26100.3916)
I would recommend not using PowerShell, particularly to ensure that things are working. Once the installer runs, starting a new CMD shell should have swift in the path (where swift should find the path). If that doesn't, then the installer is silently failing. The logs should help shed light on what is failing.
Also, please provide more information about where you are running this. Is this ARM64 or X64?
PowerShell Swift started to responding on swift -version, CMD - doesn't.
Still fails on building. Compiles SwiftPM successfully, but there are errors on linking:
lld-link: error: could not open 'msvcrt.lib': no such file or directory
lld-link: error: could not open 'oldnames.lib': no such file or directory
lld-link: error: could not open 'msvcprt.lib': no such file or directory