issue with Tailwinfcss intallation (specifically with commant- ” npx tailwindcss init”

npx tailwindcss ini
npx: installed 1 in 1.127s
command not found: tailwindcss

I did try another command “npx tailwindcss-cli@latest init -p” and created “tailwind.config.js” folder.
But i do want to know why the “npx tailwind init : not working.

tried chatgpt and possible solution that i could get my hand on still the problem persists.