Does npx no longer do install-less run?

Solution 1:

You can do following if you are not willing to type 'yes' everytime you install.

npm_config_yes=true npx cowsay "hello"

see this https://github.com/npm/cli/issues/2226