Run a docker container, and then update as per the instructions
docker run -it --rm -v "$PWD":/app craftcms/php-fpm:8.2-dev /bin/ash
Run a docker container, and then update as per the instructions
docker run -it --rm -v "$PWD":/app craftcms/php-fpm:8.2-dev /bin/ash