## 官網安裝miniconda https://conda.io/projects/conda/en/stable/user-guide/install/macos.html > Anaconda 與 Miniconda 簡單差別在於前者在安裝時檔案容量較大,提供豐富的GUI以及資料科學的相關套件,後者則是日後需要進行安裝其他套件。  add conda into system path ```shell! export PATH=~/miniconda3/bin:$PATH ``` ## Conda Command * list all environments ``` conda env list ``` * list the packages in the env ``` conda list ``` * create environment (not recommended) ``` conda create -n myenv ``` * create environments with specific python version (👍) ``` conda create -n myenv python=3.10 ``` * switch environment ``` conda activate myenv ``` * quit environment ``` conda deactivate ``` * remove environment(make sure you have deactivated the ENV) ``` conda remove -n ENV_NAME --all ``` * export the env package ``` conda list --export >> requirements.txt ``` * install specific cuda ``` conda install nvidia/label/cuda-11.8.0::cuda-toolkit ``` ###### tags: `Toolkit`
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.