Skip to content

Commit 2f0f13a

Browse files
📝 Update for //build2016
1 parent 80b4d03 commit 2f0f13a

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

README.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
## Setup Windows 10 for Modern/Hipster Development
22
A fresh Windows isn't entirely ready for modern development, but all the tools you need are available. A good terminal, popular bash tools, Git, a decent package manager - when properly setup, modern development on Windows can be a lot of fun. In particular, this document outlines how to configure your Windows in such a way that it can easily handle most development tasks usually run on a Mac OS X or a Linux distro.
33

4+
## A Word about Ubuntu Linux on Windows
5+
:point_up: While [Bash on Windows](https://blogs.windows.com/windowsexperience/2016/04/06/announcing-windows-10-insider-preview-build-14316/) is still in development, it's an amazing tool that can make development a bit easier - especially when you're dealing with Bash scripts, Ruby, or Ubuntu binaries. I would currently (May 2016) not recommend it as a replacement for Git, Node, or Go - mostly because those tools are already pretty performant on Windows itself. However, they run just fine in Bash, so if you feel like moving most of your development over, go for it. Here's the how-to:
6+
7+
* Ensure that you're running Windows 10 Anniversary Update (build 14311 and up)
8+
* Enable Developer Mode (Settings - Update & security > For developers)
9+
* Search for “Windows Features” and choose “Turn Windows features on or off” and enable Windows Subsystem for Linux (Beta).
10+
* To get Bash installed, open Command Prompt and type “bash”
11+
412
## Automate it!
513
Below, you can see the all the things I need to actually go and work on stuff. If you like all those things, you can automate the installation thanks to the magic of [Boxstarter](http://boxstarter.org/). Simply start PowerShell as Administrator and run:
614

@@ -44,7 +52,7 @@ Register-PackageSource -Name chocolatey -Location http://chocolatey.org/api/v2 -
4452
Once done, you can look for all Chrome packages by typing `Find-Package -Name Chrome` or install it by typing `Install-Package -Name GoogleChrome`.
4553

4654
#### Terminal: CMDer (with PowerShell Support)
47-
The PowerShell in Windows 10 got a bunch of upgrades, but it's even better if used with CMDer, a powerful Console Emulator. As August 20 2015, my favorite is [CMDer 1.2](https://github.com/bliker/cmder/releases/tag/v1.2). Install with:
55+
The PowerShell in Windows 10 got a bunch of upgrades, but it's even better if used with [CMDer](https://github.com/bliker/cmder/), a powerful Console Emulator. Install with:
4856

4957
```
5058
cinst cmder -pre
@@ -85,7 +93,7 @@ npm-windows-upgrade
8593
```
8694

8795
#### Version Control: Git, Subversion, Mercurial
88-
Obviously. If you want Git to be able to save credentials (so you don't have to enter SSH keys / passwords every single time you do anything), also install git-credential-winstore.
96+
Obviously. If you want Git to be able to save credentials (so you don't have to enter SSH keys / passwords every single time you do anything), also install the Git Credential Manager for Windows.
8997

9098
```
9199
cinst git.install
@@ -94,7 +102,7 @@ cinst poshgit
94102
# Restart PowerShell / CMDer before moving on - or run
95103
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
96104
97-
cinst git-credential-winstore
105+
cinst Git-Credential-Manager-for-Windows
98106
cinst github
99107
```
100108

@@ -150,19 +158,24 @@ cinst easy.install
150158
### DevOps
151159
This stuff is really only relevant if you're interested in DevOps - but if you are, you should probably install the stuff below. It's not likely that you need any of the things below unless you're directly working with it, because none of those things are expected to be installed on a Unix machine.
152160
153-
#### VirtualBox, Vagrant, Docker
161+
#### Docker, VirtualBox, Vagrant
162+
If you want to run Docker machines and images, you might not need VirtualBox. In fact, installing VirtualBox on your system isn't always the best idea, given that it messes with a few system components.
163+
164+
Docker just released a beta version for OS X and Windows that no longer requires VirtualBox to be installed - and instead uses the default Hypervisor that comes with the operating system (on Windows, that's Hyper-V). You can [read more about the beta over on Docker's blog](https://blog.docker.com/2016/03/docker-for-mac-windows-beta/).
165+
166+
However, if you want the old VirtualBox route, go and install that stuff with:
154167
```
155168
cinst virtualbox
156169
cinst virtualbox.extensionpack
157170
cinst vagrant
158171
```
159172
160-
If you want to run Docker machines and images, you might not need VirtualBox. In fact, installing VirtualBox on your system isn't always the best idea, given that it messes with a few system components.
161-
162-
Docker just released a beta version for OS X and Windows that no longer requires VirtualBox to be installed - and instead uses the default Hypervisor that comes with the operating system (on Windows, that's Hyper-V). You can [read more about the beta over on Docker's blog](https://blog.docker.com/2016/03/docker-for-mac-windows-beta/).
163-
164173
#### SSH
165-
If you installed CMDer or Gow as indicated above, you're already set - simply run `ssh` from CMD, CMDer, or PowerShell.
174+
If you installed CMDer or Gow as indicated above, you're already set - simply run `ssh` from CMD, CMDer, or PowerShell. If you didn't, use the official Microsoft port of OpenSSH:
175+
176+
```
177+
cinst win32-openssh
178+
```
166179
167180
#### Azure Cli
168181
Super duper useful if you're working with Azure at all.

0 commit comments

Comments
 (0)