Support for other package managers #301

Closed
opened 2026-01-29 16:36:02 +00:00 by claunia · 3 comments
Owner

Originally created by @Hecatron on GitHub (May 3, 2019).

Originally assigned to: @GregorBiswanger on GitHub.

Hi,
would it be possible to add support for pnpm or yarn instead of using npm
so instead of "npm install" the use of "pnpm install" or "yarn install"

pnpm tends to use a lot less disk space since it creates links inside node_modules that point to a single shared directory on the drive

Originally created by @Hecatron on GitHub (May 3, 2019). Originally assigned to: @GregorBiswanger on GitHub. Hi, would it be possible to add support for pnpm or yarn instead of using npm so instead of "npm install" the use of "pnpm install" or "yarn install" pnpm tends to use a lot less disk space since it creates links inside node_modules that point to a single shared directory on the drive
claunia added the question label 2026-01-29 16:36:02 +00:00
Author
Owner

@GregorBiswanger commented on GitHub (May 16, 2019):

NPM gets better from version to version. We want to use the established technolegy in the market. Recognizing the extra implementation of what is still running on the system and then performing that preferrably would be more unnecessary. Sorry.

But you are welcome to do a pull request again.

@GregorBiswanger commented on GitHub (May 16, 2019): NPM gets better from version to version. We want to use the established technolegy in the market. Recognizing the extra implementation of what is still running on the system and then performing that preferrably would be more unnecessary. Sorry. But you are welcome to do a pull request again.
Author
Owner

@Hecatron commented on GitHub (May 16, 2019):

I've added an option for it in some of the code I'm working on, I'll be putting that through on a pull request once I've finished with it
note I agree there may not be any advantages to yarn over npm

however pnpm does have one huge advantage in that it just stores just one copy of the files for node_modules in a single directory for all projects on a users drive
it then creates file links to that single copy.
So the end result is that you save a large amount of disk space with lots of websites under development since each one's node_modules just links back to a single copy on the disk.

@Hecatron commented on GitHub (May 16, 2019): I've added an option for it in some of the code I'm working on, I'll be putting that through on a pull request once I've finished with it note I agree there may not be any advantages to yarn over npm however pnpm does have one huge advantage in that it just stores just one copy of the files for node_modules in a single directory for all projects on a users drive it then creates file links to that single copy. So the end result is that you save a large amount of disk space with lots of websites under development since each one's node_modules just links back to a single copy on the disk.
Author
Owner

@zaneclaes commented on GitHub (Jun 20, 2021):

The Electron.Build docs (upon which this repo is built) now "strongly recommend" using yarn over npm. It may be worth reconsidering this stance.

@zaneclaes commented on GitHub (Jun 20, 2021): The [Electron.Build docs](https://www.electron.build/index.html#installation) (upon which this repo is built) now _"strongly recommend"_ using yarn over npm. It may be worth reconsidering this stance.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#301