Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit c8d93f8

Browse files
SRowlandsgrasmash
authored andcommitted
Improvements to the Ubuntu Bash on Windows documentation. (#596)
1 parent 122ada5 commit c8d93f8

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

readme/windows-install.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
BLT is supported on Windows 10, under the Windows Subsystem for Linux (Ubuntu Bash). You need to install this separately, and you must be running Windows 10 Anniversary edition or later, and the Windows installation must be 64-bit.
44

5+
There are a few [known issues and quirks](#known-issues-and-quirks) with this approach.
6+
57
## Install the Windows Subsystem for Linux
68

79
The Windows Subsystem for Linux allows you to use a full Linux environment via Bash on Ubuntu. This means you can install BLT's prerequisites on your Windows workstation in a similar way as you would on a Linux or Mac environment.
@@ -12,11 +14,12 @@ Follow Microsoft's official instructions to install [Bash on Ubuntu on Windows](
1214

1315
1. `sudo add-apt-repository ppa:ondrej/php` (hit 'Enter' when prompted)
1416
2. `sudo apt-get update`
15-
3. `sudo apt-get install -y php5.6-cli php5.6-curl php5.6-xml php5.6-mbstring php5.6-gd`
16-
4. `sudo apt-get install -y git nodejs npm unzip`
17+
3. `sudo apt-get install -y php5.6-cli php5.6-curl php5.6-xml php5.6-mbstring php5.6-bz2 php5.6-gd php5.6-mysql mysql-client unzip git`
1718
4. `php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"`
1819
5. `php composer-setup.php`
1920
6. `sudo mv composer.phar /usr/local/bin/composer`
21+
7. `curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -`
22+
8. `sudo apt-get install -y nodejs`
2023

2124
## Other Required setup
2225

@@ -47,3 +50,13 @@ After you run `vm init` (it may error out and say 'Virtualbox is missing is not
4750
- `wrun vagrant up` to start the VM
4851
- `wrun vagrant halt` to stop the VM
4952
- `wrun vagrant destroy -f` to delete the VM
53+
54+
## Known issues and quirks
55+
56+
As the WSL is a beta feature it is expected that some features may contain bugs or be incomplete.
57+
58+
At the time of writing these are the currently known issues which you may encounter.
59+
60+
1. [Only portions of procfs are implemented, and there is limited inotify support](https://github.com/Microsoft/BashOnWindows/issues/216). This will impact things like Gulp where you commonly want to actively 'watch' for filesystem changes. In that particular instance you can use [gulp-watch](https://www.npmjs.com/package/gulp-watch) which polls periodically instead.
61+
2. [Network enumeration is not supported](https://github.com/Microsoft/BashOnWindows/issues/468). This will impact networking functions commonly required by popular frontend packages and utilities (e.g Browsersync). There are workarounds discussed in the GitHub issue.
62+
3. [Permissions on /dev/tty are sometimes incorrect](https://github.com/Microsoft/BashOnWindows/issues/617). This can prevent ssh connectivity keyboard input cannot be read (required when entering a passphrase). A workaround is discussed in the GitHub issue.

0 commit comments

Comments
 (0)