DEV Community

protium
protium

Posted on • Edited on

2 3

packages "cache" and symlink all the projects?

Hi everyone! I started to think about that question two months ago as I'm working in different projects and my 256Gb SSD is running out of space.

I know I can use npm link, but I'm looking for a package manager that can install a package only in one folder and then resolve required packages as symlinks into the working directory. E.g. npm-symlink install --save-dev electron

What do you think? Would be a good idea? I will give it a try with python.

Top comments (2)

Collapse
 
hoelzro profile image
Rob Hoelz

If I understand you right, I think that's what pnpm is meant to do?

Collapse
 
protium profile image
protium

That is exactly what I was looking for! I couldn't find it. Thanks Rob!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay