ITerm is a free command-line application designed for Mac OS users. As an alternative to the system’s own Terminal, it offers a lot of convenience and geeky features. Features such as isolated panels, transparent Windows, powerful regular expression search, autocomplete, clipboard history, snapshot return, and more! If you’re not a Mac user, skip iTerm and go straight to oh-my-zsh for efficiency

Create a high level of appearance Terminal2

What attracted me to iTerm2, among other things, was its cool, customizable interface. Satisfying my visual obsessives while providing convenience should be a must-have tool for every MacOS programmer. I generally have two usage scenarios for using the command line

One, quickly open, execute a command or two, and then close, such as open a file, start the service, etc.

Second, long time using the command line, such as debugging programs, VIM programming and so on.

So, in iTerm2, I will create two Profile configurations.

The first kind of Profile

! [](https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/145f135dac86459cba2ba173a412d27c~tplv-k3u1fbpfcp-zoom-1.image)

The second kind of Profile

First need to install an iTerm2, you can click 👉 is me!! 😁

Step.1 Create the first Profile

First, create Profiles in Preperence → Profiles, named HotKey Window

! [](https://upload-images.jianshu.io/upload_images/24335196-a4e36f57d0e32d70.jpg?imageMogr2/auto-orient/strip%7CimageView 2/2/w/1240)

Step.2 Background transparency and blur Settings

Set it in Preperence → Profiles → Window → Window Appearance

! [](https://upload-images.jianshu.io/upload_images/24335196-e8084b03870bbcd1.jpg?imageMogr2/auto-orient/strip%7CimageView 2/2/w/1240)

Step.3 Window style configuration

Go to Preperence → Profiles → Window → Settings for New Windows

! [](https://upload-images.jianshu.io/upload_images/24335196-3f22ee4b668ae817.jpg?imageMogr2/auto-orient/strip%7CimageView 2/2/w/1240)

Step 4 set HotKey

Go to Preperence → Profiles → Keys → HotKey

Now that the first Profile configuration is complete, you can press your HotKey to quickly open and hide the command line.

If you need to open a command line window that is used for a long time, press CMD + n, but you will find that the window style is back to the default, so let’s configure the second Profiles.

! [](https://upload-images.jianshu.io/upload_images/24335196-3e03dc2f61313701.jpg?imageMogr2/auto-orient/strip%7CimageView 2/2/w/1240)

Step.5 Create a second Profile

We just need to configure the “window style” based on the first window.

In Preperence → Profiles, copy the HotKey Window and name it Default of HotKey Window

! [](https://upload-images.jianshu.io/upload_images/24335196-478697dbd3ef7798.jpg?imageMogr2/auto-orient/strip%7CimageView 2/2/w/1240)

Step.6 Window style configuration

Go to Preperence → Profiles → Window → Settings for New Windows

! [](https://upload-images.jianshu.io/upload_images/24335196-97eb0b427c0cedea.jpg?imageMogr2/auto-orient/strip%7CimageView 2/2/w/1240)

Step.7 Set the default

In Preperence → Profiles, select Default of HotKey Window and set it to Default

At this point, the two profiles are set up.

! [](https://upload-images.jianshu.io/upload_images/24335196-fc26e58346b4cd7b.jpg?imageMogr2/auto-orient/strip%7CimageView 2/2/w/1240)

Shortcut keys for common functions

When using iTerm2, the following shortcut keys for control Windows will be used very frequently, so don’t remember them, and they will form muscle memory if you use them too much.

CMD + n: Create a window

CMD + t: Create a TAB

CMD + D: Create a TAB vertically

CMD + Shift + D: Create a TAB horizontally