When I install swift correctly, according to the website, I get an error code while trying "swift --version" and there is no error code when I do "swift" it just goes to another line.

This is the error code I got:
compnerd.org Swift version 5.3.1 (swift-5.3.1-RELEASE)
Target: x86_64-unknown-windows-msvc

So how I downloaded it was I got the toolchain, it was an exe file, I run it, it completes without error, then I install the required and reccomended components in visual studio. After that I run the commands to copy the files for the windows installation into the visual studio command prompt, then I type in "swift --version" and that error code pops up.

I am using the stable 5.3.1 and I tried using the Trunk Development snapshots and it still did not work.
Answered by Claude31 in 651245022
Problems for installing on windows are not for this forum, dedicated to Apple environment.

You'd better contact:
  • swift.org

  • Microsoft / Visual studio

Wish you to get it out.
Accepted Answer
Problems for installing on windows are not for this forum, dedicated to Apple environment.

You'd better contact:
  • swift.org

  • Microsoft / Visual studio

Wish you to get it out.
When I install swift correctly, according to the website, I get an error code while trying "swift --version" and there is no error code when I do "swift" it just goes to another line.
 
 
Q