This blog’s post needs an update!
Inside the frontend be sure you have the .npm and you have you git repo initialized and in clean status.
then run
npx @next/codemod new-link .
add & commit
npx @next/codemod next-image-to-legacy-image .
add & commit
npx @next/codemod next-image-experimental .
add & commit again