从零安装必备软件

从零安装必备软件

今日打算重新组装系统,因此需要从零开始安装在 Mac 上的必备的一些软件。

Iterm

从官网下载 iterm2

参考 learn-the-command-line-iterm-and-zsh

设定主题

目前 Solarized 已集成进 Iterm2,可不必下载。

image-20220628143815413

设定字体 Powerline 字体

为了终端下能正确的显示 fancy 字符,需要安装 powerline 字体,这样,这些 fancy 字符不至于显示为乱码。 GitHub 上已经有制作好的 Powerline 字体,可以下载了直接安装到系统:

Powerline 字体下载: https://github.com/powerline/fonts

安装好之后,就可以选择一款你喜欢的 Powerline 字体了:Preferences -> Profiles -> Text -> Font -> Change Font

导入配置文件

配置文件:https://github.com/MrSeaWave/dotfiles/blob/main/iterm2.json

Oh my zsh

https://ohmyz.sh/

1
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

配置导入

https://github.com/MrSeaWave/dotfiles/blob/main/zshrc

更多使用参考 oh-my-zsh入门

Homebrew

https://brew.sh/

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

如果遇到 Warning: /opt/homebrew/bin is not in your PATH. 报错,参考stackoverflow.com进行解决。

将下面一句写入 ~/.zshrc or ~/.bashrc

export PATH=/opt/homebrew/bin:$PATH

Git

https://git-scm.com/downloads

如何将命令行中的 git 提示语言改为英文

https://blog.csdn.net/michael_wgy_/article/details/105858848

1
$ vim ~/.zshrc

添加如下内容:

1
alias git='LANG=en_GB git'

更新配置:

1
$ source ~/.zshrc

Node

https://nodejs.org/zh-cn/download/

n

https://github.com/tj/n

1
$ npm install -g n

nrm

https://github.com/Pana/nrm

1
$ npm install -g nrm

Pnpm

https://www.pnpm.cn/installation

1
$ npm install -g pnpm

yarn

https://yarnpkg.com/getting-started/install

Node.js >=16.10

Corepack is included by default with all Node.js installs, but is currently opt-in. To enable it, run the following command:

1
corepack enable

Node.js <16.10

Corepack isn’t included with Node.js in versions before the 16.10; to address that, run:

1
npm i -g corepack

live-server

https://www.npmjs.com/package/live-server

1
$ npm install -g live-server

gitlab ssh-key

ssh-key使用

fig

https://fig.io/

xnip

https://xnipapp.com/

Paste

https://pasteapp.io/

Alfred

https://www.alfredapp.com/

Bardenter

https://www.macbartender.com/

LICEcap

https://www.cockos.com/licecap/

Upic

https://github.com/gee1k/uPic

uPic 图床配置教程 - Github

Unarchiver

https://theunarchiver.com/

Postman

https://www.postman.com/

Sourcetree

https://www.sourcetreeapp.com/

更多

参考 Mac 上的 APP 推荐

作者

Sea

发布于

2022-06-28

更新于

2023-01-10

许可协议

评论