Skip to content

mac

software

  • tencent lemon
  • altab: 用来切换窗口的小软件,这个很好用,快捷键:control + tab;
  • qq
  • wechat
  • qq music
  • chrome
  • firefox
  • wps
  • lark
  • dingding
  • 腾讯会议
  • xcode
  • vscode
  • terminal:推荐使用wrap, https://docs.warp.dev/getting-started/readme ; 或者 iterm2 / hyper, https://github.com/vercel/hyper;
  • v2ray
  • 录屏软件: obs或者 kap https://github.com/wulkano/Kap
  • 笔记软件: 推荐github + vscode; 次选 obsidian这个,只用打开文件夹的功能即可,可以试下icloud来同步;
  • raycast: 这个也很好用,启动器;
  • github desktop app: 因为国内github的问题,terminal拉去仓库非常慢,通过这个,可以直接拉取仓库,然后在vscode中打开,速度非常的快, download-apple版本

mac shortcut

  • command + tab: 切换app

  • control + tab + ⬇️ : 显示同一个app的多个窗口

  • config switch:

mac command

shell code

sh
brew install smartmontools  // mac安装https://formulae.brew.sh/formula/smartmontools
smartctl -a disk0    //查看磁盘的读写
uname  -a     //查看用户的,及命令行泡在x86/arm
arch -x86_64 command  //后续加上各种命令即可,前面加上arch -x86_64即可;

arch -arm64 brew install neofetch

neofetch

config dev-environment on new mac

  • login appid , config mac password ;
  • edge, chrome, items2, vscode, youdaoDic, wangyiMusic;

install developer software and config

  • install mac xcode command line tools :(just use git in terminal, it will note you to install it); xcode-select --install (这个有点慢,最好去下载软件的安装包); link; link;
  • homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" link
  • items: download and config font or theme: link;
  • oh-my-zsh: download;
sh
plugins=(git zsh-z  zsh-syntax-highlighting)
ZSH_THEME="amuse"
  • git, config:
sh
git config --global  user.name "jinghao.zj"
git config --global user.email "[email protected]"
git config --global pull.rebase true
ssh-keygen -t rsa -C "[email protected]"
pbcopy < ~/.ssh/id_rsa.pub  //to get public key
  • vscode: 参考;
  • go
    • install go: download pkg, link;
    • uninstall go : link;
    • REFERENCE: software-config/go;

FE

  • node,nvm,yarn;

node : brew install node; nvm :  //need to config at .zshrc file;

download: 
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
confing in zsh.rc:
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
link:
https://github.com/nvm-sh/nvm

yarn: npm install --global yarn