2 arch arm: "arm64", intel: "x86_64"
4 version "py312_24.9.2-0"
5 sha256 arm: "08d8a82ed21d2dae707554d540b172fe03327347db747644fbb33abfaf07fddd",
6 intel: "ce3b440c32c9c636bbe529477fd496798c35b96d9db1838e3df6b0a80714da4e"
8 url "https://repo.anaconda.com/miniconda/Miniconda3-#{version}-MacOSX-#{arch}.sh",
9 verified: "repo.anaconda.com/miniconda/"
11 desc "Minimal installer for conda"
12 homepage "https://docs.conda.io/en/latest/miniconda.html"
15 url "https://repo.anaconda.com/miniconda/"
16 strategy :page_match do |page|
17 sha256 = page.scan(/>Miniconda3-latest-MacOSX-#{arch}\.sh<.{,99}>(\w{64})</im).first.first
18 page.scan(/>Miniconda3-(py\d+_[\d.-]+)-MacOSX-#{arch}\.sh<.{,99}>#{sha256}</im).first.first
23 conflicts_with cask: [
27 container type: :naked
30 executable: "Miniconda3-#{version}-MacOSX-#{arch}.sh",
31 args: ["-b", "-p", "#{caskroom_path}/base"],
33 binary "#{caskroom_path}/base/condabin/conda"
35 uninstall delete: "#{caskroom_path}/base"
44 Please run the following to setup your shell:
45 conda init "$(basename "${SHELL}")"
47 Alternatively, manually add the following to your shell init:
48 eval "$(conda "shell.$(basename "${SHELL}")" hook)"