logoalt Hacker News

thrdbndndntoday at 1:14 AM1 replyview on HN

How do you allow scripts for tools installed globally?


Replies

jamiemtoday at 5:32 AM

Either pass the --allow-scripts=<pkg> flag with npx or npm install -g, or set allow-scripts=<pkg> in .npmrc