0
0

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 1 year has passed since last update.

pyenv 初期設定

Last updated at Posted at 2022-02-06

新規Macを設定する際に忘れていたのでメモ。
(諸事情で移行アシスタントやTimemachine使えない)

1 pyenv を追加

brew install pyenv

2 PYENV_ROOT 追加

export PYENV_ROOT="${HOME}/.pyenv"

3 pyenv の初期化処理を追加(profile,rcなどに)

eval "$(pyenv init -)"

4 PATHの設定(profile,rcなどに)

export PATH="$PYENV_ROOT/bin:$PATH"
export PATH="$PYENV_ROOT/shims:$PATH" 

5 profile or rc のリロード

source {.zshrc|.zprofile}
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?