Shell script to list Cookieplone prerequisite tooling

You can use this script as a startpoint to document your local Cookieplone setup.

Go to your project directory/container folder and run as script or copy to your terminal:

#!/bin/bash
echo "List currently locally installed versions of Plone CI fullstack tools"
echo "-----------------------"
echo "python3 version: "`python3 --version`
echo "uvx version: " `uvx --version`
echo "nvm version: " `nvm -v`
echo "npm version: " `npm -v`
# echo "pnpm version: " `pnpm -v`  ## DIsabled see my comment below
echo "node version: " `node -v`
echo "docker version: " `docker -v`
echo "Cookieplone version" `uvx cookieplone --version`
echo "make version: " `make -v`
echo "gmake version: " `gmake -v`
echo "-----------------------"
echo `date` Done!

example output:

List currently locally installed versions of Plone CI fullstack tools
-----------------------
python3 version: Python 3.13.2
uvx version:  uv-tool-uvx 0.6.7 (029b9e1fc 2025-03-17)
nvm version:  0.39.5
npm version:  10.9.2
# pnpm version:  9.1.1
node version:  v22.14.0
docker version:  Docker version 28.0.4, build b8034c0
Cookieplone version Cookieplone 0.9.6 from /Users/astro/Library/Caches/uv/archive-v0/_l9yZJ_DFVFwpfkcrPYa4/lib/python3.13/site-packages/cookieplone (Cookiecutter 2.6.0, Python 3.13.2 (main, Feb 4 2025, 14:51:09) [Clang 16.0.0 (clang-1600.0.26.6)]) Made with ❤️ by the Plone Community
make version:  GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0
gmake version:  GNU Make 4.4.1 Built for aarch64-apple-darwin22.3.0 Copyright (C) 1988-2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
-----------------------
Mi 9 Apr 2025 16:37:20 CEST Done!

used on macos Sequoia after all prerequisites resolved

TODO:

Add troubleshooting check commands like:

Duplicate React

etc.

ATTENTION: There is a chance that pnpm ask here to update!
Resist to click OK!. This may had lead to render my setup unusable.

I am investigation the source of the issue.
Until then I commented out this line above.