Managing Node.js versions with pnpm

  Рет қаралды 6,922

pnpm

pnpm

2 жыл бұрын

This a short demo about how to use pnpm for managing Node.js versions
Related docs:
pnpm.io/cli/env#use
pnpm.io/npmrc#use-node-version

Пікірлер: 7
@kalyankattamuri4941
@kalyankattamuri4941 Жыл бұрын
Thanks for sharing! Quite few things going on - nvim, fish shell, nerdtree nvim plugin, alacritty terminal, some linux distro with activities (BTW, is pretty neat) and then pnpm itself. With nvm the node version is set such that I can use it within the terminal. With this one, it is at the project level and has to be used with package.json npm scripts. Nothing wrong. Just different.
@JuanoD_
@JuanoD_ Жыл бұрын
Hey! I was using volta until now. Time to switch all my projects, work and personal, to pnpm.
@nivethan-me
@nivethan-me Жыл бұрын
awesome 👍
@tux1
@tux1 8 ай бұрын
Cool, thanks!
@neoesm
@neoesm 2 ай бұрын
Catch it this won't work if you don't already have a Node.js version installed
@_adonisk
@_adonisk 14 күн бұрын
Isn't this counter intuitive though? You want to use pnpm to manage Node.js but the idea to move forward is to use corepack to manage pnpm? How would that work if pnpm is managing the version of Node.
@zkochan
@zkochan 12 күн бұрын
To me, personally, it made more sense to manage Node.js with pnpm. In the end, I want pnpm to be as stable as Git. You don’t use a version manager for Git, right? However, it looks like the other approach is more popular. In any case, even if you don’t manage the globally installed Node.js with pnpm, you can still manage it for local projects. With the use-node-version setting, you can specify which Node.js version will be used when you run scripts with pnpm.
How JavaScript package managers work: npm vs. yarn vs. pnpm vs. npx
11:40
Software Developer Diaries
Рет қаралды 7 М.
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 101 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 77 МЛН
Why I Switched From NPM/Yarn to PNPM And Why You Should Too!
13:54
Using Volta to switch between different versions of NodeJS.
12:02
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 633 М.
I Finally Changed Package Managers
4:01
Theo - t3․gg
Рет қаралды 85 М.
Get Started with pnpm
6:58
Coding in Public
Рет қаралды 29 М.
How to use "Streams" to improve performance in Node.js?
12:22
Software Developer Diaries
Рет қаралды 19 М.
Version Your Packages with Changesets
3:37
The UI Dawg
Рет қаралды 7 М.
You Don't Know Node - ForwardJS San Francisco
35:25
ForwardJS
Рет қаралды 28 М.
What Is pnpm?
8:46
Syntax
Рет қаралды 27 М.
Pnpm vs Npm vs Yarn - What to Choose?
8:23
Monsterlessons Academy
Рет қаралды 12 М.
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН