Can npx execute packages without having the package installed?

In a lot of places i see people saying that npx can execute packages without instlalling them but whenever i try to exeute a package i get Need to install the following packages. example npx cowsay 'wow'
Need to install the following packages:
cowsay@1.5.0
Ok to proceed? (y)
Need to install the following packages:
cowsay@1.5.0
Ok to proceed? (y)
1 Reply
Matvey
Matvey8mo ago
it will install it to a temp folder i think.