Prerequisites
- macOS (Apple Silicon or Intel)
- Admin access to your user account (no
sudorequired for the steps below) zsh(the default shell on modern macOS)
Install Miniconda
Run the installer
~/miniconda3), and answer yes when asked whether to update your shell profile.(Optional) Stop auto-activating `base`
By default, conda activates its
base environment in every new terminal. To disable that:Accept channel Terms of Service
Newer conda releases require explicit ToS acceptance for the default Anaconda channels before you can install packages:
Create a Node environment
Create one environment per project and pin the Node major version. Use theconda-forge channel — it ships more current Node builds than defaults.
Daily workflow
Global npm installs (
npm i -g ...) while an env is active install into that env only — they won’t pollute your system Node or other envs. This is the whole point of using conda for Node.Managing environments
Example: running mint dev for this docs site
Every time you work on docs
Troubleshooting
zsh: command not found: conda
zsh: command not found: conda
Your shell hasn’t been initialized for conda. Run once:If that still fails, source conda’s hook directly in the current shell:
`node -v` still shows the system version after `conda activate`
`node -v` still shows the system version after `conda activate`
A globally installed Node is shadowing the env. Confirm with:The first result should be inside
~/miniconda3/envs/<env-name>/bin/. If it isn’t, check your ~/.zshrc / ~/.zprofile for a stray PATH export (e.g. from a previous Homebrew node install) that’s prepended after conda’s init block. Move conda’s init below those lines, or uninstall the shadowing Node:CondaToSNonInteractiveError on create/install
CondaToSNonInteractiveError on create/install
You haven’t accepted the Anaconda channel Terms of Service yet. Run:
EnvironmentNameNotFound: Could not find conda environment
EnvironmentNameNotFound: Could not find conda environment
The env doesn’t exist yet — Then create the one you need (see Create a Node environment).
conda activate can only activate envs that were already created with conda create. List what you have:Mintlify: `not supported on node versions 25+`
Mintlify: `not supported on node versions 25+`
You’re running a non‑LTS Node. Activate an env pinned to Node 22 (or any current LTS) and reinstall the CLI inside that env:

