Created
October 3, 2020 09:16
-
-
Save sahara-ooga/de9954d5367ebba4160be1ef39e0533a to your computer and use it in GitHub Desktop.
Macのセットアップ時に実行するコマンド
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# xcode-select | |
# xcode-selectはもともと入っている | |
# Xcodeコマンドラインツールのインストールが始まる | |
# xcode-select --install | |
# Homebrewのインストール | |
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
# Homebrew caskのインストール | |
# brew tap caskroom/cask | |
# masコマンド | |
# http://www.nowhere.co.jp/blog/archives/20180620-170739.html | |
# brew install mas | |
# mas list | |
# mas outdated | |
# mas upgrade | |
# ちなみに、Apple セキュリティアップデートは | |
# softwareupdate --list | |
# softwareupdate --install --all | |
# https://support.apple.com/ja-jp/HT200113 | |
# fastlane | |
brew install fastlane | |
## Set up environment variables for fastlane | |
echo export LC_ALL=en_US.UTF-8 >> ~/.zshrc | |
echo export LANG=en_US.UTF-8 >> ~/.zshrc | |
#Xcode-install | |
# https://sussan-po.com/2019/08/29/how-to-use-xcversion/ | |
# https://shinespark.hatenablog.com/entry/2018/08/16/080000 | |
# 定数定義 | |
readonly DEVELOPER_ACCOUNT_ID="[email protected]" | |
readonly DEVELOPER_ACCOUNT_PASSWORD="og119awasaD" | |
# インストール | |
gem install xcode-install | |
echo export XCODE_INSTALL_USER=$DEVELOPER_ACCOUNT_ID >> ~/.zshrc | |
export XCODE_INSTALL_PASSWORD=$DEVELOPER_ACCOUNT_PASSWORD >> ~/.zshrc | |
#インストール可能なXcodeのリストアップ | |
xcversion list | |
#Xcodeのインストール | |
# xcversion install xx.y | |
# caskでインストールする各種アプリ | |
brew cask install google-japanese-ime # Google日本語入力 | |
brew cask install slack | |
# masでインストールする各種アプリ | |
mas install 409183694 #keynote | |
mas install 539883307 # line | |
mas install 897118787 # shazam | |
mas install 425424353 # The Unarchiver | |
mas install 1278508951 # Trello | |
mas install 1482454543 # Twitter | |
# Rust | |
# using rustup | |
# https://www.rust-lang.org/tools/install | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
# Python | |
# Pyenvで管理する | |
# https://github.com/pyenv/pyenv#installation | |
brew install pyenv | |
# fullfill dependencies | |
# brew install openssl readline sqlite3 xz zlib | |
# install python | |
pyenv install 3.7.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment