Choose a location where spack will be installed.
export SPACK=/export/spack cd $SPACK git clone https://github.com/spack/spack.git ~/spack Cloning into ..... cd spack #checkout the latest stable release git checkout releases/v0.17 # source the setup-env.sh . share/spack/setup-env.sh # b