As I have been experiencing issues on my MSI laptop, I had to format a few times lately. This quick tutorial show you how to setup your Windows computer for web development. Getting all the tools properly installed is not as nearly as easy on Unix based systems like Ubuntu or OSX.
Open cmd.exe, Run as Administrator
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
choco install rubychoco install rubygemschoco install ruby2.devkit (If the install fails, please see http://stackoverflow.com/a/10695190)gem install bundler jekyll wordmoveThere are a bunch of console tools alternative to cmd.exe. My favorite one is ConEmu. It doesn't include as many tools as Babun, but it works just perfectly for my workflow. Here is a list of the most maintained console tools (they are all maintained on Github):
choco install babunchoco install conemuchoco install cmderchoco install consolezIf you use Conemu, open the settings (Win + Alt + T) then go to Integration. Click the Register button and Conemu will be added to the Explorer context menu integration.
choco install phpchoco install composerchoco install git.installgit config --global user.email "julien@vernet.me" git config --global user.name "Julien Vernet"choco install nodejs.installnpm install -g bower gulp-cli grunt-cli surgechoco update all
Version 0.9.9+ of Chocolatey now does a real update of packages, instead of installing newer versions beside older ones.
Symbolic Links are just amazingly useful. Put it simply, symlinks are kind of shortcuts that softwares can actually follow (You can read more about it on wikipedia). Instead of constantly setting up backup tasks, you could take advantage of symlinks to point to your Dropbox folder (for instance).
I use sysmlink for my .ssh folder that contains all my SSH keys. Everything is actually stored on my Dropbox folder, which is on another hard drive. I'm doing the same thing for my Sublime Text 3 Settings.
You could use a GUI like Symlinker, but I prefer to simply use the command line:
mklink /D "C:\Users\<yourusername>\.ssh" "D:\Dropbox\Apps Profiles\.ssh"mklink /D "C:\Users\<yourusername>\AppData\Roaming\Sublime Text 3" "D:\Dropbox\Apps Profiles\Sublime Text 3"