You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
公式にはサポートされていない Linux ディストリビューションでも、ソースコードをコンパイルすることで、Swift を実行できるかもしれませんが、Vapor は安定性を保証できません。[Swift repo](https://github.com/apple/swift#getting-started) から Swift のコンパイル方法について詳しく学ぶことができます。
11
10
11
+
## Swift のインストール
12
12
13
-
|ディストリビューション|バージョン|Swift のバージョン|
14
-
|-|-|-|
15
-
|Ubuntu|20.04|>= 5.6|
16
-
|Fedora|>= 30|>= 5.6|
17
-
|CentOS|8|>= 5.6|
18
-
|Amazon Linux|2|>= 5.6|
13
+
### Swiftly CLI ツールを使用した自動インストール (推奨)
19
14
20
-
公式にはサポートされていない Linux ディストリビューションでも、ソースコードをコンパイルすることで、Swift を実行できるかもしれませんが、Vapor は安定性を保証できません。[Swift repo](https://github.com/apple/swift#getting-started) から Swift のコンパイル方法について詳しく学ぶことができます。
15
+
Linux で Swiftly と Swift をインストールする手順については、[Swifty のウェブサイト](https://swift-server.github.io/swiftly/)をご覧ください。その手順に従った後、次のコマンドで Swift をインストールします。
21
16
22
-
## Swift のインストール
17
+
#### 基本的な使い方
18
+
19
+
```sh
20
+
$ swiftly install latest
21
+
22
+
Fetching the latest stable Swift release...
23
+
Installing Swift 5.9.1
24
+
Downloaded 488.5 MiB of 488.5 MiB
25
+
Extracting toolchain...
26
+
Swift 5.9.1 installed successfully!
27
+
28
+
$ swift --version
29
+
30
+
Swift version 5.9.1 (swift-5.9.1-RELEASE)
31
+
Target: x86_64-unknown-linux-gnu
32
+
```
33
+
34
+
### ツールチェーンを使用した手動インストール
23
35
24
36
Linux 上で Swift をインストールする方法については、Swift.org の[ダウンロードの使用](https://swift.org/download/#using-downloads)を参照してください。
25
37
@@ -31,7 +43,7 @@ Fedora ユーザーは、以下のコマンドを使用して Swift を簡単に
0 commit comments