Behavior about managing global binary
Stutus Quo
fnm
- fnm itself doesn't manage global binary. It just relies on
npm install -g.
- Global binaries installed by
npm install -g will be cleaned up after switching global node version
fnm use/install is used to install different node
mise
- Same behavior as fnm for global binaries installed by
npm install -g
- Global binaries installed by
mise use -g .. won't be cleaned up after switching global node version
mise install is used to install different node
Current proposal for vite-plus
- Same behavior as fnm for global binaries installed by
npm install -g
Questions
- What command will us used for installing/switching between node versions?
If we refer to fnm, probably we'll use vp env use/install.
- What command will us used for installing global binary isolately
If vp env use/install is smart enough, we could still stick with vp env use/install
Like: vp env install -g @anthropic-ai/claude-code. But in this case, what does vp env install @anthropic-ai/claude-code mean?
- How it's different with
vp install -g @anthropic-ai/claude-code vite install -g @anthropic-ai/claude-code
Behavior about managing global binary
Stutus Quo
fnm
npm install -g.npm install -gwill be cleaned up after switching global node versionfnm use/installis used to install different nodemise
npm install -gmise use -g ..won't be cleaned up after switching global node versionmise installis used to install different nodeCurrent proposal for vite-plus
npm install -gQuestions
If we refer to fnm, probably we'll use
vp env use/install.If
vp env use/installis smart enough, we could still stick withvp env use/installLike:
vp env install -g @anthropic-ai/claude-code. But in this case, what doesvp env install @anthropic-ai/claude-codemean?vp install -g @anthropic-ai/claude-codevite install -g @anthropic-ai/claude-code