this post was submitted on 19 Jan 2023
1 points (100.0% liked)
General Programming Discussion
7803 readers
1 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The same way C programmers do: Download the source code into a local folder and include it directly from there. Then you only update it when you explicitly want to.
You can also use npm with a package.json which requests a specific version, that way it won't update automatically.
Final option, which doesn't work for all packages, is to install the corresponding
node-*
package from apt, because the debian developers do ship a number of frequently used node packages in the repositories. Eg, apt install node-is-wsl