npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

.bin folder without using symbolic links

I’m using npm in a Linux VM on a file system from the Windows host.

Since it does not support symbolic links, I run npm install from windows. But now there is a package that compiles binaries so it does not run in Linux. To avoid creating symbolic links in Linux I can use the --no-bin-links option. But it will create no .bin folder at all. The windows version of npm creates a .bin folder without using symbolic links. It contains script files that can be used in both Windows and Linux!

How can I create a .bin folder containing scripts with the Linux version of npm?