How to install Anaconda on External Hard drive?

I have the Apple Silicon Macbook Air with 256 GB, and am interested in installing Anaconda mainly Jupyter notebook in my Mac. When I tried installing it on my external Hard drive, which is a 1TB SSD, I got an error(Cannot be installed in /Volumes/SATA SSD/anaconda because the path contains spaces). Is there a way to do this?


If the error is about the space, then if the Volume (External Hard disk) is made without spaces it gets rectified. For example, in my case it was "SATA SSD", once modified into "SATA_SSD" anaconda was installed.