User Tools

Site Tools


other:uvcdat:cdat_conda:miniforge_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
other:uvcdat:cdat_conda:miniforge_install [2025/09/18 16:59] – [Windows computer] Updated for Miniforge jypeterother:uvcdat:cdat_conda:miniforge_install [2025/09/19 15:02] (current) – [Miniforge3 on a Windows computer] More details jypeter
Line 110: Line 110:
       * We recommend installing [[other:win10apps#windows_terminal|Windows Terminal]] and making it the default terminal for using Powershell       * We recommend installing [[other:win10apps#windows_terminal|Windows Terminal]] and making it the default terminal for using Powershell
  
-  * Use ''curl'' to download the latest installer (71 Mb as of September 2025): <code>PS C: cd C:\Scratch\your_login+  * Use ''curl'' to download the latest installer (71 Mb as of September 2025): <code>PS C:\> cd C:\Scratch\your_login 
 PS C:\Scratch\your_login> curl https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe -o miniforge3.exe PS C:\Scratch\your_login> curl https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe -o miniforge3.exe
 +
 PS C:\Scratch\your_login> dir miniforge3.exe PS C:\Scratch\your_login> dir miniforge3.exe
 [...] [...]
Line 136: Line 138:
   * When the installer has finished running, you should have:   * When the installer has finished running, you should have:
     * A new ''C:\Utils\miniforge3_2025-09'' folder     * A new ''C:\Utils\miniforge3_2025-09'' folder
-      * This folder size will be ~300 Mb and will keep on growing (up to several Gb) as you add more Python environments and packages+      * This folder size will be ~300 Mb (as of September 2025) and will keep on growing (up to several Gb) as you add more Python environments and packages
         * => **Be sure to have enough space on the installation disk!**         * => **Be sure to have enough space on the installation disk!**
     * A new shortcut in the Windows ''Start''=>''M''=>''Miniforge3'' menu:     * A new shortcut in the Windows ''Start''=>''M''=>''Miniforge3'' menu:
       * ''Miniforge Prompt''       * ''Miniforge Prompt''
-        * **We will now use this //Anaconda Powershell// shortcut each time we need to use Miniconda3 or Python**+        * We will now use this ''Miniforge Prompt'' shortcut each time we need to use a ''conda'' or ''python'' related to this installation of miniforge3
       * We recommended to [[other:win10apps#windows_terminal|installing Windows Terminal and making it the default terminal application]], so that the ''conda'' prompts will open in a modern (and highly configurable) terminal       * We recommended to [[other:win10apps#windows_terminal|installing Windows Terminal and making it the default terminal application]], so that the ''conda'' prompts will open in a modern (and highly configurable) terminal
  
Line 188: Line 190:
  'C:\\Utils\\miniforge3_2025-09\\Lib\\site-packages']  'C:\\Utils\\miniforge3_2025-09\\Lib\\site-packages']
 >>> ^Z</code> >>> ^Z</code>
 +
 +  * Check if ''conda-forge'' is the default and only channel that conda will use to update the newly installed ''base'' environment, and future environments
 +    * The ''%%--%%get channels'' command should only mention ''%%'%%conda-forge%%'%%''<code>(base) C:\Users\jypeter>conda config --get channels
 +--add channels 'conda-forge'   # lowest priority</code>
 +    * If you get something else, you may have a ''.condarc'' configuration file left over from a previous ''conda'' installation. Depending on its content, you may have to remove or edit the ''.condarc'' file, or it may be OK to leave it unchanged
 +      * Example: you use a ''cmd'' terminal, and there is NO existing ''.condarc'' file<code>(base) C:\Users\your_login>more %HOMEPATH%\.condarc
 +Impossible d’accéder au fichier C:\Users\your_login\.condarc</code>
 +      * Example: you use a Powershell terminal, and there is a configuration file. The configuration below is OK, because it only mentions the ''%%'%%conda-forge%%'%%'' channel we want<code>(base) PS C:\Users\your_login> more $HOME\.condarc
 +channels:
 +  - conda-forge
 +channel_priority: strict</code>
  
   * **Next**: follow **all** the other Miniforge3 related instructions for the other Operating Systems   * **Next**: follow **all** the other Miniforge3 related instructions for the other Operating Systems
Line 898: Line 911:
     * [[https://docs.conda.io/projects/conda-build/en/latest/resources/package-spec.html#package-match-specifications|conda Package match specifications]]     * [[https://docs.conda.io/projects/conda-build/en/latest/resources/package-spec.html#package-match-specifications|conda Package match specifications]]
     * [[https://conda.io/projects/conda/en/latest/dev-guide/api/conda/models/match_spec/index.html#conda.models.match_spec.MatchSpec|Documentation in the MatchSpec class]]     * [[https://conda.io/projects/conda/en/latest/dev-guide/api/conda/models/match_spec/index.html#conda.models.match_spec.MatchSpec|Documentation in the MatchSpec class]]
-===== Uninstalling Miniconda3 =====+===== Uninstalling Miniforge3 =====
  
 ==== Windows computer ==== ==== Windows computer ====
other/uvcdat/cdat_conda/miniforge_install.1758207562.txt.gz · Last modified: by jypeter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki