Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac整理的工具集锦 #27

Open
jiangtao opened this issue Oct 30, 2019 · 0 comments
Open

Mac整理的工具集锦 #27

jiangtao opened this issue Oct 30, 2019 · 0 comments
Labels

Comments

@jiangtao
Copy link
Owner

本人使用Mac整理的一些工具, 由于问的人比较多整理成文档和脚本,方便大家使用。由于本人是工程师, 整理成脚本方便自己。 脚本地址 。下面整理一些较为常用和实用的工具。

开发者

懒人快捷装机子脚本

curl https://raw.githubusercontent.com/jiangtao/mydotfiles/master/install/boostrap.sh | bash

懒人脚本功能列表

homebrew安装

if test ! $(which brew); then
  echo "Installing homebrew..."
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# modify brew mirror to http://mirrors.ustc.edu.cn/
cd "$(brew --repo)" && git remote set-url origin https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" && git remote set-url origin https://lug.ustc.edu.cn/wiki/mirrors/help/homebrew-core.git
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles

brew update

快捷命令

  • ripgrep  快捷查找命令, 简写rg, 同类产品: ag 
  • git  git命令 
  • vim  快捷编辑器 
  • autojump 快捷跳转,记忆跳转目录 
  • tree linux tree 
  • nginx 本地nginx 
  • wget linux wget 
  • gifsicle gif工具 
  • mkcert 创建https证书  
  • bat 统计行数 
  • fd 更好的查找命令 
  • timothyye/tap/ydict 命令行里面的有道词典 

使用brew安装快捷命令

# install tools
tools=(
  ripgrep 
  git 
  vim 
  autojump 
  tree
  nginx
  wget
  gifsicle # gif tools for unix
  mkcert # mkcert for localhost 
  bat # cat with line number
  fd # better find command
  timothyye/tap/ydict # youdao dict
)

brew install ${tools[@]}

命令行(terminal)辅助工具

  • zsh  命令行美化工具 
  • suggestion 命令行输入提醒 

安装zsh和suggestion
# oh my zsh 
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# add suggestion plugin
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

# add zsh plugins
echo "plugins=(git zsh-autosuggestions)" >> $HOME/.zshrc

命令行应用安装工具 (brew cask)

可以通过命令行安装一些常用的工具。 

brew install caskroom/cask/brew-cask

常见的应用工具安装

apps=(
  google-chrome-canary
  firefox
  helm
  youdaonote
  
  ## dev tools
  sourcetree
  imageoptim
  beyond-compare
  
  # webstorm
  # vmware-fusion
  
  ## my tools
  qqmusic #qq music# 
  kindle #kindle for mac#
  wewechat # wechat for electron #
  omnigraffle
)

# Install apps to /Applications

echo "installing apps..."
brew cask install --appdir="/Applications" ${apps[@]}

开发推荐工具

  • TabNine vscode 智能辅助开发插件 

辅助工具

  • xmind zen 脑图工具 
  • soucetree  git GUI工具 
  • axure 原型图工具 
  • draw.io 画UML BPMN工具 

Mac产品下载

通常情况下, 如果经济能力允许建议买正版的软件,比如webstorm, omini系列工具等。 
如果着急可以在 Mac软件 下载。

@jiangtao jiangtao added the tool label Oct 30, 2019
@jiangtao jiangtao changed the title Mac好用的工具集锦 Mac整理的工具集锦 Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant