2021/07/29

Macで開発環境構築


Command Line Tools

XCode アプリ入れれば入る


xcode-select --install


---

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"



https://brew.sh/index_ja

確認する


brew doctor


sudo xcodebuild -license



---

Python3

which python3

Catalina以降は標準で入っているはずだが どこにあるか確認



pip






--

シェル

catalina ではzshが標準



prezto

 (Zshのconfiguration framework)

git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"

など


https://github.com/sorin-ionescu/prezto



--



Python開発環境構築


Python3


データサイエンス向けの プラットフォーム

Anaconda

https://www.python.jp/install/anaconda/macos/install.html



IDE 統合開発環境


Spyder

https://www.spyder-ide.org/


-



ーーー

エディタ


sublime text

など


–––––––––––

実行の仕方


ターミナルで 


zsh シェルスクリプト.sh

python title.py

./ 何か




--


gcc

C言語用に


-

XCode

Visual Studio Code



--