現在 Windows 10 Insider Preview で提供され、今夏に正式リリース予定の Bash on Ubuntu on Windows を利用すると、Swift.orgで配布されている Ubuntu 用 Swift を実行することができます。今回は Bash on Ubuntu on Windows に Swift をインストールして簡単なプログラムを実行してみます。 なお、Bash on Ubuntu on Windows 自体のインストール方法は以下の記事を参照してください。 docs.hatenablog.jp まず、Bash on Ubuntu on Windows を起動して次のコマンドを実行し、Swift の実行に必要なソフトウェアをインストールします。 apt-get update apt-get install clang libicu-dev 続いて次のコマ
![Windows 10 で 公式 Swift を動かすには Bash on Ubuntu on Windows - Psycho Frame](https://cdn-ak-scissors.b.st-hatena.com/image/square/51bba934ff01cab815ac8acd7d1fa904b84cb05f/height=288;version=1;width=512/https%3A%2F%2Fblog.st-hatena.com%2Fimages%2Ftheme%2Fog-image-1500.png)