0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Mac > 初期化後の開発環境インストールメモ

Last updated at Posted at 2021-01-04

年末休みを利用してMacをクリーンインストールしたので、環境構築のメモ
都度更新していきます。

クリーンインストールする前に、設定をクラウドに飛ばせるものは飛ばすこと

VSCode

まずは、VSCode

設定は同期済みなので、復旧は容易
事前に↓を参考に設定を行なっておくこと。

Visual Studio Code Settings Sync

Homebrew

macOS(またはLinux)用パッケージマネージャー — Homebrew

インストールは以下をターミナルから実行

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

zsh

Homebrewでインストール
以下をターミナルから実行

brew install zsh zsh-autosuggestions zsh-completions zsh-syntax-highlighting colordiff reattach-to-user-namespace tmux

Git

Homebrewでインストール
以下をターミナルから実行

brew install git


### 一度ターミナルを再起動した後、インストール確認
git --version

### 参照しているパスを確認
which git

Git Account

キーチェーンを使うよう credential.helper という config を設定します。

git config --global credential.helper osxkeychain
git config --global user.name "username"
git config --global user.email "mailaddress"

### 確認
git config --global -l

もし、GitHubの複数アカウント使っている場合には

GitHubの複数アカウントを使い分け - Qiita

リポジトリを最初にcloneするときだけ「ユーザー名@」をつけてcloneする

以後は
キーチェーンにアカウント情報が格納され、それが使われる

スクリーンショット 2020-12-21 17.12.12.png

jq

Homebrewでインストール
以下をターミナルから実行

brew install jq

Java

Mac > jEnvで複数バージョンのJDK(JAVA環境)を切り替える - Qiita

Node & yarn

Mac > anyenv,nodenvをMacに設定 - Qiita

yarn
npm install -g yarn
exec $SHELL -l

tree

brew install tree

Postman

Download Postman | Try Postman for Free

IntelliJ

ダウンロード IntelliJ IDEA

DBeaver

Download | DBeaver Community

memo

Notion

Notion – Mac & Windows

CotEditor

CotEditor -Text Editor for macOS

Communication

Slack

Mac | ダウンロード | Slack

Discord

Discordをダウンロード

Google

google-cloud-sdk

brew cask install google-cloud-sdk

cd /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk
./install.sh

仮想環境

VirtualBox

brew caskを使ってVirtualBoxをインストール

brew install --cask virtualbox

Vagrant

brew caskを使ってVagrantをインストール

brew install --cask vagrant
vagrant box add ubuntu/xenial64
vagrant box list
vagrant plugin install vagrant-disksize vagrant-hostsupdater vagrant-mutagen vagrant-docker-compose

mutagen

brew install mutagen-io/mutagen/mutagen
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?