.. _Quickstart: Quickstart ************************* .. code-block:: console git clone --recursive https://github.com/NOAA-EMC/spack-stack.git cd spack-stack # Ensure Python 3.7+ is available and the default before sourcing spack # Sources Spack from submodule and sets ${SPACK_STACK_DIR} source setup.sh # Basic usage of spack stack create spack stack create -h .. note:: We recommend using external Python versions 3.8 or later with spack-stack. ================================================= Using spack to create environments and containers ================================================= .. _Quickstart_CreateEnv: ------------------------ Create local environment ------------------------ The following instructions install a new spack environment on a pre-configured site (see :numref:`Section %s ` for a list of pre-configured sites and site-specific notes). Instructions for creating a new site config on an configurable system (i.e. a generic Linux or macOS system) can be found in :numref:`Section %s `. The options for the ``spack stack`` extension are explained in :numref:`Section %s `. .. code-block:: console # See a list of sites and templates spack stack create env -h # Create a pre-configured Spack environment in envs/