13
20

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 5 years have passed since last update.

anacondaコマンドチートシート

Posted at

#環境
macOS Mojave 10.14
#コマンド一覧

###仮想環境作成

conda create -n name python=version anaconda

name:任意の仮想環境名
version:pythonのバージョンの指定

###作成した仮想環境一覧の表示

conda info -e

###作成した仮想環境に入る

source activate name

name:作成した仮想環境名

###現在の仮想環境から出る

source deacrivate

###仮想環境の削除

conda remove -n name

name:削除する仮想環境名

###anacondaのアップデート

conda update conda

###現在の仮想環境のパッケージ確認

conda list

###インストール可能なパッケージの検索

conda search package

package:パッケージ名

###パッケージのインストール

conda install package

package:パッケージ名

###パッケージのアップデート

conda update package

package:パッケージ名

###全てのパッケージのアップデート

conda update --all

###パッケージのアンインストール

conda uninstall package

package:パッケージ名

###使われていないパッケージ及びキャッシュの削除

conda clean --all

###pythonのアップデート
3.6.0や3.6.1から3.6.2にする場合

conda update python

3.5系や3.6系から3.7系へアップデートする場合

conda install python=3.7
13
20
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
13
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?