Set up your environment
After creating and cloning your repository, choose one of the two paths below. Both use mise.toml to install the template's development tools.
Use the Dev Container
You'll need Docker running on your computer, VS Code, and its Dev Containers extension.
- Open your cloned repository folder in VS Code.
- Open the Command Palette and select Dev Containers: Reopen in Container.
- Wait for the image to build and the setup command to finish, then open a new terminal in VS Code. Run your project commands in that terminal.
The image includes mise and uv. On creation, scripts/setup.sh trusts the template's mise.toml and installs its declared tools. If the container fails to open, make sure Docker is running and use Dev Containers: Show Container Log to see whether the failure was in the image build or the setup command.
Use local tools
Install mise for your operating system first. Then check that your terminal can find it.
mise --version
Review mise.toml and scripts/enter_project.sh before trusting the project configuration. Run the commands below from the repository root.
mise trust mise.toml
mise install
The first command records trust. The second installs the development binaries declared for your platform. To put them on your shell's path, activate mise for your shell. Use the line for your shell in an interactive terminal.
eval "$(mise activate bash)" # Bash
eval "$(mise activate zsh)" # Zsh
Add the same line to your shell's startup file if you want activation in future terminals. You can also run tools through mise on demand, for example with mise exec -- uv --version.
Verify your setup
Check that uv and Prek are available before moving on.
uv --version
prek --version
If the tools are installed but the commands are missing, reopen your terminal after configuring shell activation or try the mise exec -- form. In an activated shell, the template's Bash entry hook can install Commitizen and install or replace the Git hooks. See Enable commit hooks for the manual setup.