on dealing with Windows - initial setup
Dec 11, 2014
2 minutes read

Sometimes there isn’t a practical way around using Windows, especially so if you’re dealing with proprietary university ‘course-ware’, certain esoteric file formats, or things that generally hate virtualization (anti-cheat game engines, DRM mechanisms, various hardware accelerations).

This guide will go through the steps I take every time I need to deal with a Windows workstation, so we’ll be turning it into a cheap, knock-off POSIX environment!

App management with chocolatey

Windows doesn’t provide an app manager like pacman or aptitude, so we need to install an equivalent for the sake of our sanity. chocolatey fits the bill, it’s a package manager and repository for the Windows platform that has syntax similar to aptitude.

Use the following procedure to install chocolatey. This procedure is an echo of the one published at the Chocolatey website

  1. Open a command prompt using administrative privileges. (Start > type cmd > right click cmd.exe > ‘Run As administrator’ in Windows 7)
  2. Paste the following PowerShell command into the prompt to download and install chocolatey. @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
  3. Restart your command prompt before attempting to use chocolatey, which is good practice whenever environment paths are added.

To install an application with chocolatey, much like aptitude , the syntax is choco install <app1> <app2>...<appN>

Now that you have a grasp on how to use chocolatey to install applications, you can start looking through the Chocolatey Gallery.

Back to posts

comments powered by Disqus