Jim Lynch Codes
  • Blog
  • About Jim

Writings about one coder's stories & experiences.

Installing MinGW

9/19/2017

0 Comments

 
At my most recent workplace they sadistically force everyone to use Windows 7. Being used to normal Unix command shells that one might find on Linux or MacOS machines, I was not happy about having to use cmd. However, I discovered MinGW, a program gives you BASH commands right in cmd! Although it's not 100% perfect, it definitely gets the job done and makes working with the command line in Windows a lot more comfortable and familiar. This is a short guide on setting it up.

Download the Exe

You can grab the installer by clicking the Download Installer button on the MinGW official website. 

Run the Installer

The installer interface is a bit weird. Keep clicking next until you get to the checkbox page. I normally choose these options. If you will be using Ada, Fortran, or Objective-C you may want to check those boxes as well.
Picture

Add MinGW to Path Variable

Finally, you need to add the correct folders to your Path variable so that your command line will recognize it. Because I have two accounts for admin and regular access, I needed to add these to my System environment variables, but I would recommend adding them to your user environment variables unless you have to add them to system like I do. Check your file explorer to be sure these are the correct folder names and locations. Ensure that your current Path ends in a semicolon and then paste this onto the end.
C:\MinGW\bin;C:\MinGW\msys\1.0\bin;

Get To Work!

Now open up a new cmd window. If you've properly added MinGW to your Path then you should be able to BASH commands like ls. If it lists the contents of your current directory then you're all set. Now get going and make something awesome!
Picture
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    ​Author

    Picture
    The posts on this site are written and maintained by Jim Lynch. About Jim...
    Picture
    Follow @JimLynchCodes
    Follow @JimLynchCodes

    Categories

    All
    Actionscript 3
    Angular
    AngularJS
    Automated Testing
    AWS Lambda
    Behavior Driven Development
    Blockchain
    Blogging
    Business Building
    C#
    C / C++
    ClojureScript / Clojure
    Coding
    Community Service
    CS Philosophy
    Css / Scss
    Dev Ops
    Firebase
    Fitness
    Flash
    Front End
    Functional Programming
    Git
    Go Lang
    Haskell
    Illustrations
    Investing
    Java
    Javascript
    Lean
    Life
    Linux
    Logic Pro
    Music
    Node.js
    Planning
    Productivity
    Professionalism
    Python
    React
    Redux / Ngrx
    Refactoring
    Reusable Components
    Rust
    Security
    Serverless
    Shell Scripting
    Swift
    Test Driven Development
    Things
    TypeScript
    Useful Sites
    Useful Tools
    Video
    Website Development
    WebStorm
    Writing

    Archives

    March 2023
    August 2021
    February 2021
    January 2021
    October 2020
    September 2020
    May 2020
    April 2020
    February 2020
    January 2020
    December 2019
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    May 2017
    April 2017
    March 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015

    RSS Feed

  • Blog
  • About Jim
JimLynchCodes © 2023