diff --git a/Readme.md b/Readme.md index e238052..a52c6b3 100644 --- a/Readme.md +++ b/Readme.md @@ -15,4 +15,5 @@ - [Retrain Yolo v8](articles/computer_vision/retrain_yolo_v8/Readme.md) ## MISC -- [Socket CAN - Linux](articles/misc/socket_can_linux/Readme.md) \ No newline at end of file +- [Socket CAN - Linux](articles/misc/socket_can_linux/Readme.md) +- [Miniconda Setup - Windows](articles/misc/miniconda_windows_setup/Readme.md) \ No newline at end of file diff --git a/articles/misc/miniconda_windows_setup/Readme.md b/articles/misc/miniconda_windows_setup/Readme.md new file mode 100644 index 0000000..d6470b3 --- /dev/null +++ b/articles/misc/miniconda_windows_setup/Readme.md @@ -0,0 +1,39 @@ + +50 + + +# MISC - Miniconda Windows Setup + +## Miniconda install + +```console +curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -o miniconda.exe +Start-Process -FilePath ".\miniconda.exe" -ArgumentList "/S" -Wait +``` + +```console +del miniconda.exe +``` + +## Exable Windows scripts execution + +```console +Set-ExecutionPolicy RemoteSigned -Scope CurrentUser +``` + +## Enable conda in Powershell + +Open Anaconda PowerShell Prompt +```console +conda init powershell +``` + +To disable base env auto activation: +```console +conda config --set auto_activate_base false +``` + + +## References +- [Installing Miniconda](https://docs.anaconda.com/miniconda/install/#quick-command-line-install) +- [Enable PowerShell Miniconda](https://stackoverflow.com/questions/64149680/how-can-i-activate-a-conda-environment-from-powershell) \ No newline at end of file