Terminal
Tags: terminal, cli, console, cmder
Published: 2021-06-19 23:11:31

## Getting a terminal for windows (cmder)
Before we proceed with this blog article, I would want to inform you that there is a video about this article on Codetopia’s YouTube channel. You can watch it or read this post or preferably do both.

{% youtube zCQt6TBr5OY %}

### What is a terminal?
From experience, I can tell that about 90% of learners who begin their way into the development world or into computing often know nothing about the terminal and often get confused when anything about it is mentioned. What is the terminal? one may ask. The terminal is actually an interface where instructions known as commands could be given to the computer to carry out. Unlike the normal GUI (Graphical User Interface) where the mouse is used to click buttons and other graphical elements in order to issue commands, we have another interface called the CLI (short for Command-Line Interface) of which the terminal happens to fall under, and it is through the terminal that commands are written to give out a task. Let us take for instance, a shutdown operation. Using the normal way, a user would click a few buttons in order to achieve that. That same task (shutdown) could be carried out with the terminal but within a short amount of time. Since this tutorial is actually not dedicated to the deep stuffs about the terminal, we’ll not go deep into it. But below is just a glance of what a linux terminal looks like.
<figure>
  <img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a9uviws92oat2uji9hcp.png" alt="ubuntu terminal"/>
<figcaption>ubuntu terminal</figcaption>
<figure>

For the unix and linux users, a terminal is no news because most of the operations on these operating systems require the use of terminals. But for some windows users, it’s a big pool of confusion and fear. Windows terminals have proven to be insufficient as it is very inefficient and slow in accomplishing some computational and development task. But in recent times, developers have contributed to developing terminal tools to aid windows users and developers complete their computational and development task with ease. So lets get straight into it. We’ll not be using windows’ default terminal (command prompt) but a terminal tool called cmder (commander). But first We’ll need to install it. Cmder is a software package created out of pure frustration over the absence of nice and efficient console emulators on Windows. It is based on amazing software, and spiced up with the Monokai color scheme and a custom prompt layout, looking sexy from the start. Follow the instructions below to install Cmder.

1. Go to this link -> https://cmder.net/ and scroll down till you see something like the picture below
<figure>
  <img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v0o21mnoyn4b0nuy2bzq.png" alt="cmder download page"/>
<figcaption>cmder download page</figcaption>
<figure>
**N.B:** There are two options to download from namely the **Mini** and **Full**. If you choose the **Mini**, you would have limited features and would have to install git with cmder manually (don’t worry, will show you how very soon). But if you choose the **full** setup with git, then you don’t need to install _git_ again. In this case it is recommended to go in for the **full** version.
After hitting the download button, Wait for it to finish downloading

2. After downloading, you have to extract the zipped file into the **Program Files** directory in your **local C drive**.
If you don’t have an extraction tool or software for the extraction, I recommend [winrar](https://www.win-rar.com).
Before you extract the files into your Program Files, you first have to create a new folder in the Program Files directory. Let’s do that together.
3. First open a new file explorer
![windows file explorer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qhu2qno8a4zbbdtlqp90.png)
4. click on **This PC** located on the left pane of your file explorer![This PC](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nhmitrnwrdwa6dyhq59q.png)
5. Double click on Local Disk (C:) to open![Local Disk (C:)](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rakem41cnmgsgh6gfns1.png)
6. locate **Program Files** and launch it _(it’s just Program Files not Program Files (x86))_![program files](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ur55ixjzqqmj9cw8zqni.png)
After opening the **Program Files** directory, create a new folderyou can create a new folder by simply using the shortcut <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>n</kbd> or using the GUI way which is **right clicking on an empty space in the directory (folder), selecting new and then folder**. Grant administrative permissions if you are being asked by your computer by clicking yes, continue or ok.![new folder](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ak6ht3zqh9fg6vdn35cs.png)
7. Now rename that folder to any name you want. But due to pratical reasons, I recommend you name it **commander**
To rename a folder, you have to right click on that folder and choose rename from the pop-up menu. After selecting rename, type the name you want to give to your folder and press enter
![commander folder](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i1zn54sj20wg5b7lmfe8.png) Now that we are done creating our folder in the Program Files directory, Its time to extract the cmder zipped files to our **commander folder**,
8. Locate the cmder downloaded zipped file. (Which should be in your downloads directory or folder.).
After locating it, right click on it and select **Open with WinRAR** (if only you have [winrar](https://www.win-rar.com) installed)
![open cmder with winrar](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7f8wvakpgo7sq9fqfk6m.png)
After opening with winrar, you should see something like this
![cmder launched with winrar](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z4tukzbfbiqikucjy72g.png)
After opening cmder with winrar, go back to your **program files** directory and open the **commander** folder we created.
![commander folder](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/spbqewor3x8rlewimlgb.png)
Now open the cmder zipped folder and the commander folder side by side on your windows
![open folder side by side](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vhrotwleaar7ldpib4i7.png)
9. Now highlight all the files and folders in the cmder winrar directory
![highlight files and folder in the cmder winrar folder](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i1r9upk8js5qiclbfjml.png)
_To highlight on your windows, press and hold the left button of your mouse and drag the mouse over the object you want to hightlight_

10. After highlighting all the files and folders in the cmder winrar directory, drag all the files and folders and drop it into the commander folder (which is opened by the side of the cmder winrar directory). After droping the files and folders into the commander folder, your should see something like this
![extraction in progress](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g4piksmfnig7l7o802vz.png)
_since we are extracting to the **commander** directory which is located in the **Program Files** directory in our **Local Disk (C:)**, we may need to grant administrative rights. To do this, click on **Do this for all current items**, click on **continue** and wait for it to complete the extraction_
![granting administrative rights](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wqpefjbc1tnf3kt3w20h.png)
After the extraction you should see these bunch of files and folders in your commander directory
![extraction complete](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/snuk5a11grfavngegtxr.png)


11. Now double click on the **cmder** icon in the **commander** directory to begin the installation 
![cmder icon in commander directory](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3idlelgspw044hunja3q.png)

12. After launching cmder, cmder will begin to run some script for the installation
![cmder running scripts](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kuqmj3rmhyy1idtd6t75.png)

We finally now have a very powerful and cool terminal on our windows that we can use to perform command line tasks.
<br>

## You might want to do this
Some of you might realize that after you install cmder and try to find it by searching it name in your windows search box, it’s nowhere to be found on your windows.
![windows search box](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6a0fydoxfly4r6sy91ua.png)

It is on your windows alright but you just have to do a couple of configurations to make it searchable. Like editing your environment variables or pinning it to your start menu. The formal is quite complicated for beginners so we will focus on the latter. To make cmder searchable on your windows, just follow these simple steps to get it done
- Navigate to the **commander** folder which contains the extracted cmder files and launch it (which is located in your Program Files directory which is also located in your C local disk)
- After launching it, locate and **right click** on the cmder icon

![right click on the cmder icon](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c7kd8tei6ahrn00clag9.png)

- click on **Pin to Start** from the pop-up menu
- Now go to your start menu and you will now find cmder in there
![cmder on start menu](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n4irqgffx2ehtaxbvnzu.png)

Good job! Cmder is now searchable on your windows. You can confirm that by doing a quick search in your windows search box

![searching cmder in windows search box](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pctxz584w6x6lu0g17ld.png)

## BOUNUS ROUND
The cmder terminal also has some cool settings that you can play around with. You can alter changes to the font, the color scheme, font family, font style etc. To access these settings, you have to right click on either the top-most or bottom section of your terminal and click on settings.
![cmder terminal settings](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wts9pdcp1mnqwogvvym4.png)

In the pop-up dialog box, you can make a couple of changes and select **“save settings”** after you are done.
![cmder settings](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wagmyyqrgyzdfbzcl60u.png)

Since we are not focusing on altering changes to cmder in this blog post, we won’t dive further. But you can make your own changes to suit your taste and preference.

:-) Good luck on your new journey with your cool windows terminal