新 mbp 电脑到达,大家怎么快速搭建开发环境

2017 年 12 月 28 日
 everettjf

好多软件要安装,各种环境要配置,有一键安装的脚本吗?

6655 次点击
所在节点    iOS
41 条回复
SevenJ
2017 年 12 月 28 日
我自己基于 ansible 写了 playbook 初始化新 mac: https://github.com/jianchen2580/setupmac
nutting
2017 年 12 月 28 日
docker
U7Q5tLAex2FI0o0g
2017 年 12 月 28 日
1、没说明你的开发语言
2、MBP 发到 IOS 节点
phoenix156
2017 年 12 月 28 日
tunzao
2017 年 12 月 28 日
time machine
Weny
2017 年 12 月 28 日
docker images pull 完事
allenlee7c9
2017 年 12 月 28 日
没用过 Mac,但装 Windows 或 Linux 时,我最喜欢的就是刚装完系统后一步步装软件、搭环境的感觉
wellsc
2017 年 12 月 28 日
用自带的迁移工具
everettjf
2017 年 12 月 28 日
@littleylv 我是 iOS 开发哈,iOS 开发多数都是使用 mbp 吧~
lululau
2017 年 12 月 28 日
@everettjf 对啊,从原来的机器或者备份磁盘里复制啊
wangxm
2017 年 12 月 28 日
FanZhen
2017 年 12 月 28 日
dotfiles
otakustay
2017 年 12 月 28 日
## on-my-zsh

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

## brew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

## brew install

brew install ffmpeg --with-faac --with-fdk-aac --with-fontconfig --with-freetype --with-frei0r --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libebur128 --with-libsoxr --with-libssh --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-rubberband --with-schroedinger --with-sdl --with-snappy --with-speex --with-theora --with-tools --with-webp --with-x265 --with-xz --with-zeromq --with-zimg

brew install diff-so-fancy cloc tree docker git unrar p7zip autojump node openconnect wget mediainfo hub yarn pkg-config cairo libpng jpeg giflib pango uchardet ant doxygen aria2 mtr sdl2 git-extras highlight

## brew cask

brew tap caskroom/cask
brew tap caskroom/fonts
brew tap caskroom/versions

brew cask install font-source-code-pro font-permanent-marker git-open baiduinput dash sketch google-chrome-beta firefox iterm2 neteasemusic betterzip betterzipql baiduhi baidunetdisk visual-studio-code alfred vlc bartender skype-for-business cleanmymac usb-overdrive qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql qlimagesize webpquicklook microsoft-office aliwangwang 115browser docker adobe-creative-cloud vmware-fusion

brew cask cleanup

defaults write com.toketaware.ithoughtsx.mas imageExportOption 3
vela
2017 年 12 月 28 日
开 Sharing/ssh,然后 rsync 几个目录,反正我每次出去玩时要把便携的 MBA 开发环境同步都是这样……
ynyounuo
2017 年 12 月 28 日
自己写 - -
vjnjc
2017 年 12 月 28 日
不应该是先用 xcode-select 先装 command line 么。。。
然后装个 homebrew,然后再是你用的语言一套。
everettjf
2017 年 12 月 29 日
@otakustay 这个太全了。。。。
irobbin
2017 年 12 月 29 日
搞 iOS 开发的来问这种问题?
everettjf
2017 年 12 月 30 日
@irobbin 主业 iOS,业余啥都搞
everettjf
2017 年 12 月 30 日
@otakustay 这个就是最终我想要的了。不过注释比较少。。。我在根据大家的信息整理一个脚本,等测试后放出来

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.ih06.com/t/418388

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX