I have created this repo: hugo-mod-jslibs-dist/alpinejs at main · gohugoio/hugo-mod-jslibs-dist · GitHub
The above lets you avoid using NPM for this … also, the above repo applies some critical memory leak patches (will eventually get into upstream) that makes it work great with the Turbo framework.