Granted it’s not official, and hence not mentioned on swift.org. But a quick way to get Swift installed without knowing anything about Xcode would be to install swiftenv with Homebrew and then do:
swiftenv install 5.1.2
Edit: 5.1.3 is in a sort of half‐released state, and thus might not work with swiftenv yet.