1
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.

M1 Macを買ったので設定備忘録

Last updated at Posted at 2022-02-16

まずはbrew

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

brew管理のGitをinstall

$ brew install git
$ brew info git | grep stable
~/.zshrc
PATH=/usr/local/bin/git:$PATH
export PATH
$ source ~/.zshrc
$ which git
 => /opt/homebrew/bin/git

GitHubの設定

$ ssh-keygen -t rsa
$ pbcopy < ~/.ssh/id_rsa.pub
$ ssh -T git@github.com

nodeのインストール

$ brew install nodenv
$ echo 'eval "$(nodenv init -)"' >> ~/.zshrc
$ curl -fsSL https://github.com/nodenv/nodenv-installer/raw/master/bin/nodenv-doctor | bash
Checking for `nodenv' in PATH: /opt/homebrew/bin/nodenv
Checking for nodenv shims in PATH: OK
Checking `nodenv install' support: /opt/homebrew/bin/nodenv-install (node-build 4.9.69)
Counting installed Node versions: none
  There aren't any Node versions installed under `/Users/tk/.nodenv/versions'.
  You can install Node versions like so: nodenv install 2.2.4
Auditing installed plugins: OK
$ nodenv install -l
$ nodenv install 16.14.0
$ nodenv global 16.14.0
$ node -v

Goのインストール

$ brew install go

Docker エラー発生したので以下のたいおう

$ docker --version
Docker version 20.10.12, build e91ed57
/usr/sbin/softwareupdate --install-rosetta --agree-to-license

vim

$ vim .vimrc

Ruby

TBD: Dockerで開発しているのでそのうち

1
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
1
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?