when I try to paste the command to terminal it says password: but I can't type anything what to do (on Tahoe 26.1)
Sir, typing the password is invisible for safety reasons, you need to type your password and press enter, even if nothing types. If your still having problems, do the command without sudo