Lets say for python package spacy.
(1)set CONDA_PKGS_DIRS=<location where I want to download package> (2)conda install -c conda-forge spacy --download-only --> it will download to folder set in CONDA_PKGS_DIRS. (3) conda install --offline spacy. This will install from the package present in CONDA_PKGS_DIRS. We can change also CONDA_PKGS_DIRS if we are moving the location of installation