Setting Up Your CLI Environment (Home Brew & WSL)


Please login to enroll is this event.


This is a two section course that covers how to get the cli-based development environment on your computer.
If you have a mac, the section will be 3-4pm
If you have a PC, it will be 4-5pm

#What is Homebrew

Homebrew is the packet manager for macOS. If you had Linux experiences, it works similarly to apt-get, yum, or packman. It can help you automatically install, update, and uninstall the packages without messing around with all the source codes. You can consider it as a command-line version of App Store. However, instead of downloading apps with user interfaces, you are now using commands to install packages and cli-apps.

#The benefit of Homebrew
Homebrew is, in some ways, the most powerful tool for developers on a Mac. What it does best is helping you set up your development environment. Instead of going to separate sites and building from their source code by following difficult instructions, you can use simple commands to finish your setup. You can also use single-line commands to update, uninstall or search for specific packages. It can help you link the package directly with your bash (or zsh and other environments), so that you can use your package right away. What’s more it can help you identify and use the necessary dependencies, so that you will not install duplicated packages or find your package not working. You can use it to easily maintain your development environment.

#Windows Subsystem for Linux
This is a capability layer of running Linux binary executables on Windows 10 (or windows server 2019). It provides windows machines with a Linux kernel that can help them run Linux distributions on top of their windows operating system. Without installing another OS, users can enjoy the convenience of windows and the flexibility of Linux at the same time on a windows machine.

#The benefit of installing WSL
The biggest problem of doing development on a windows machine is the lack of support for bash. Some of the extremely useful tools and powerful development environments don’t work on a windows machine natively. By installing a WSL, windows users can using bash by running a Linux distribution on top of their windows os. This can help developers (especailly those has previous expriences of using Linux) boost their productivity

Subjects: command line home brew wsl



Status Cancelled
Date Friday, February 8th, 2019
Time 3:00pm - 5:00pm
Location TEC - Classroom
Leader Mike Liu
Enrolled 2 of 30
The TEC (Technology Engagement Center) Classroom is in the Telcom Building. To get there, just walk down the stairs from Perkins/Bostock like you’re heading towards CIEMAS. When you get to the road halfway down, make a right and Telcom is the building ahead of you to the left. The Technology Engagement Center is the first floor, so just enter in the front of the building. The classroom is to the right of the entrance, adjacent to the center circular room. http://maps.duke.edu/map/?id=21&mrkIid=2765