LoginSignup
4

More than 5 years have passed since last update.

世界一簡単なBash on Ubuntu on Windowsのインストール手順

Last updated at Posted at 2017-08-26
「ファイル名を指定して実行 ( Windows+R ) 」で、以下実行。
powershell.exe -Command "Start-Process -FilePath powershell.exe -Verb RUNAS"
以下一連のコマンドを実行。
# Windows機能の有効化 => Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

# 開発者モード オン
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"

# インストール
lxrun /install /y
おわり。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4