I'm trying to run a cli command from @foal/cli using npx to avoid global installation.
Following the docs I should do the following:
$ npm install -g @foal/cli
$ foal createapp my-app
I'm trying to use npx to avoid global installation of package.
Following this article I tried the following:
$ npx -package @foal/cli foal createapp foal-test
npx: installed 203 in 27.122s
'foal' is not recognized as an internal or external command,
operable program or batch file.
Any idea how to achieve this?
It should be npx --package or npx -p for short.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With