everettjf
V2EX  ›  iOS

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

  •  
  •   everettjf · Dec 28, 2017 · 6868 views
    This topic created in 3256 days ago, the information mentioned may be changed or developed.

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

    41 replies  •  2017-12-30 00:59:30 +08:00
    shoujiaxin
    shoujiaxin
    Dec 28, 2017 via iPhone
    1
    Homebrew
    carlclone
    carlclone
    Dec 28, 2017
    2
    recovery 不会?
    CreSim
    CreSim
    Dec 28, 2017 via Android❤️3
    3
    b821025551b
    b821025551b
    Dec 28, 2017
    4
    time machine
    sunny352787
    sunny352787
    Dec 28, 2017
    5
    是做什么开发的啊,Python 的和 Ruby 的肯定不一样吧
    lululau
    lululau
    Dec 28, 2017 via iPhone
    6
    rsync -az
    shiina
    shiina
    Dec 28, 2017 via Android
    7
    惊现群主😃
    billion
    billion
    Dec 28, 2017❤️1
    8
    只要网速快。

    1. 升级系统
    2. 安装 XCode
    3. 安装 Homebrew
    4. shell 脚本调用 Homebrew 安装各种常用软件
    coolcoffee
    coolcoffee
    Dec 28, 2017
    9
    time machine +1
    congeec
    congeec
    Dec 28, 2017 via iPhone
    10
    Vimrc, zshrc 啥的 copy 过来。安装 homebrew。如果你用 gui,一时半会儿还真不好搞
    everettjf
    everettjf
    OP
    Dec 28, 2017 via iPhone
    11
    @carlclone 还真没想到用 recovery
    everettjf
    everettjf
    OP
    Dec 28, 2017 via iPhone
    12
    @CreSim 正是我想要的,感谢
    everettjf
    everettjf
    OP
    Dec 28, 2017 via iPhone
    13
    @sunny352787 是的,如果有个脚本,能选择,岂不是更好,哈哈
    everettjf
    everettjf
    OP
    Dec 28, 2017 via iPhone
    14
    @shiina 哈哈
    everettjf
    everettjf
    OP
    Dec 28, 2017 via iPhone
    15
    @lululau 这个主要是传输文件吧
    everettjf
    everettjf
    OP
    Dec 28, 2017 via iPhone
    16
    @congeec GUI 我想到是 brew cask
    everettjf
    everettjf
    OP
    Dec 28, 2017 via iPhone
    17
    @b821025551b time machine 我还从来没用过……
    HuangLibo
    HuangLibo
    Dec 28, 2017
    18
    迁移助理
    torbrowserbridge
    torbrowserbridge
    Dec 28, 2017 via Android
    19
    我的开发环境都在云端
    mozutaba
    mozutaba
    Dec 28, 2017
    20
    你今天发顺丰给我,签收 30 分钟内搭好一切环境。
    你信不信?
    SevenJ
    SevenJ
    Dec 28, 2017
    21
    我自己基于 ansible 写了 playbook 初始化新 mac: https://github.com/jianchen2580/setupmac
    nutting
    nutting
    Dec 28, 2017 via Android
    22
    docker
    U7Q5tLAex2FI0o0g
    U7Q5tLAex2FI0o0g
    Dec 28, 2017
    23
    1、没说明你的开发语言
    2、MBP 发到 IOS 节点
    tunzao
    tunzao
    Dec 28, 2017
    25
    time machine
    Weny
    Weny
    Dec 28, 2017 via iPhone
    26
    docker images pull 完事
    allenlee7c9
    allenlee7c9
    Dec 28, 2017 via Android
    27
    没用过 Mac,但装 Windows 或 Linux 时,我最喜欢的就是刚装完系统后一步步装软件、搭环境的感觉
    wellsc
    wellsc
    Dec 28, 2017
    28
    用自带的迁移工具
    everettjf
    everettjf
    OP
    Dec 28, 2017
    29
    @littleylv 我是 iOS 开发哈,iOS 开发多数都是使用 mbp 吧~
    lululau
    lululau
    Dec 28, 2017
    30
    @everettjf 对啊,从原来的机器或者备份磁盘里复制啊
    wangxm
    wangxm
    Dec 28, 2017 via iPhone
    31
    FanZhen
    FanZhen
    Dec 28, 2017
    32
    dotfiles
    otakustay
    otakustay
    Dec 28, 2017❤️2
    33
    ## 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
    vela
    Dec 28, 2017
    34
    开 Sharing/ssh,然后 rsync 几个目录,反正我每次出去玩时要把便携的 MBA 开发环境同步都是这样……
    ynyounuo
    ynyounuo
    Dec 28, 2017
    35
    自己写 - -
    vjnjc
    vjnjc
    Dec 28, 2017
    36
    不应该是先用 xcode-select 先装 command line 么。。。
    然后装个 homebrew,然后再是你用的语言一套。
    everettjf
    everettjf
    OP
    Dec 29, 2017
    37
    @otakustay 这个太全了。。。。
    irobbin
    irobbin
    Dec 29, 2017
    38
    搞 iOS 开发的来问这种问题?
    everettjf
    everettjf
    OP
    Dec 30, 2017
    39
    @irobbin 主业 iOS,业余啥都搞
    everettjf
    everettjf
    OP
    Dec 30, 2017
    40
    @otakustay 这个就是最终我想要的了。不过注释比较少。。。我在根据大家的信息整理一个脚本,等测试后放出来
    Pore
    Pore
    Dec 30, 2017
    41
    @SevenJ 没用 ansible,这个是一键安装所有的东东吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2229 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 136ms · UTC 02:03 · PVG 10:03 · LAX 18:03 · JFK 21:03
    ♥ Do have faith in what you're doing.