powershell/cmd.exe/bash all execute things through the same “command”
typing the path of the executable
So you’d open a terminal. find out where your sqlite3.exe file is. type that path. hit enter.
sqlite does run on windows. the above is sufficent to run sqlite on windows.
If you’re involving anything other than that (for example, winpty) then it’s because you’ve put an obstacle in your way. don’t work around it, remove the obstacle.
and keep in mind that windows will always be bit of an obstacle, it’ll keep sticking its head up because it refuses to do things like how everyone else does it, probably as part of its anticompetitive strategy
it’s silly to teach you how to use workarounds when you should be learning to use the real tool itself.