First, about configuration and education preferential treatment

I decided to buy a Mac Book because my previous Thinkpad was getting tired. As for Air or Pro, if dealing with daily office, Air should be enough. It is thin and beautiful. Pro is still recommended if there is programming requirement.

Currently, there are mainly 20 and 21 types of Pro in the market, and 20 types of M1 chips and 21 types of M1 Pro. According to the official website, M1 is fast, M1 Pro is super fast, starting from 9999 for 20 types and 14,999 for 21 types. It depends on the individual. I choose the 21 pro, but I think the 16-inch pro is too big, so I choose the 14-inch pro.

As for the education discount, the price of 21 14-inch models is 14,999 on the official website, while the price of using the education discount is 13,899. You can choose the official website for direct verification, but the disadvantage is that it is slow. You can get it within about one month after you place the order. Recommend jingdong home, you can directly verify online, send a learning network verification code can be placed on the day you can get it.

Two, basic environment configuration

homebrew

Like NPM, this is a package management tool with many useful functions such as install, uninstall, update, view, search, etc. Package management can be implemented with a simple command, and you don’t have to worry about dependencies and file paths. It is very convenient and quick.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Copy the code

The official website address is not particularly stable, very easy to collapse, recommended Chinese Academy of Sciences installation address, fool installation.

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
Copy the code

Restart the command line and you can use it

Brew install node@ Version brew Link node@ Version brew install yarn brew install gitCopy the code

Git installed

It is basically the same as installing Git on Windows

Git config --global user.email "XXX" git config --global user.email "XXX Git config --list # git config core-.ignorecase falseCopy the code

After the public key is generated, use the command line to view the generated public key and add it to gitLab or code cloud

cd .ssh

cat id_rsa.pub
Copy the code

Three, common software installation

Download vscode and Google chrome

Webstorm and you get the idea

Royal TSX

Mac Os cannot use Xshell, so we need a tool to replace Xshell. I have tried finalXshell, but I don’t think it is as good as this one. It is simple and stable to operate.

1. Download the Mac OS package from the official website

2, remember full screen after installation

3. Install the plug-in

4. Create a folder

5. Create Terminal and SFTP in the folder

Once you’ve added it, click on it and it’s almost the same as Xshell.

Use up feedback

The most intuitive feeling is that it is very fast, especially the head-scratching Excel, which will no longer be criticized by people. The second is very comfortable, buttons, touchpad, UI color matching are very comfortable.

The bad thing is that the bondage is very strong. Some small plug-ins of Google Browser are definitely not usable, and the cracked version of WebStorm is also not usable. Comparatively speaking, the inadaptability of keyboard keys is better.

To do good work must first sharpen its tools, 2022 roll up your sleeves to work!