diff --git a/{{cookiecutter.project_name}}/first_run.bat b/{{cookiecutter.project_name}}/first_run.bat
index 713bd24a8693c37a6e14f90b66d70e99bc55c3ab..f1d87fe797d206d465682b7cef2ade79534c2af8 100644
--- a/{{cookiecutter.project_name}}/first_run.bat
+++ b/{{cookiecutter.project_name}}/first_run.bat
@@ -1,4 +1,4 @@
-pip install --user pre-commit
+python3 -m pip install --user pre-commit
 git init
 git add .
 pre-commit install
diff --git a/{{cookiecutter.project_name}}/first_run.sh b/{{cookiecutter.project_name}}/first_run.sh
index 713bd24a8693c37a6e14f90b66d70e99bc55c3ab..f1d87fe797d206d465682b7cef2ade79534c2af8 100644
--- a/{{cookiecutter.project_name}}/first_run.sh
+++ b/{{cookiecutter.project_name}}/first_run.sh
@@ -1,4 +1,4 @@
-pip install --user pre-commit
+python3 -m pip install --user pre-commit
 git init
 git add .
 pre-commit install