Skip to content
目录

个人开发配置

node 相关

nvm

mise

常用命令

# Install a runtime and set it as the global default

mise use --global node@20

# Install a runtime and set it as the project default

mise use node@20


1
2
3
4
5
6
7
8
9

@antfu/ni ni - use the right package manager

常用命令

# ni - install

ni

# nr - run

nr

# nu - upgrade
# npm upgrade
# yarn upgrade (Yarn 1)
# yarn up (Yarn Berry)
# pnpm update
# bun update

nu
nu -i

# (not available for npm & bun)
# yarn upgrade-interactive (Yarn 1)
# yarn up -i (Yarn Berry)
# pnpm update -i


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

myltx