diff options
| author | shu <nvcsadjkojf@outlook.com> | 2026-10-25 23:46:15 +0800 |
|---|---|---|
| committer | shu <nvcsadjkojf@outlook.com> | 2026-10-25 23:46:15 +0800 |
| commit | afa43622a2b0d6322f5ade9fc8231e5540a96736 (patch) | |
| tree | 4a31be96ae639553a6c2493ee231b093b7b8b430 /scripts/pnpm.sh | |
使用 stow + 脚本的形式维护系统基础
Diffstat (limited to 'scripts/pnpm.sh')
| -rwxr-xr-x | scripts/pnpm.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/pnpm.sh b/scripts/pnpm.sh new file mode 100755 index 0000000..90259db --- /dev/null +++ b/scripts/pnpm.sh @@ -0,0 +1,10 @@ +#/bin/bash + +CURRENT_VERSION=24 +export FNM_NODE_DIST_MIRROR=https://mirrors.nju.edu.cn/nodejs-release/ + +fnm install $CURRENT_VERSION +fnm use $CURRENT_VERSION +npm i -g pnpm +pnpm setup +pnpm i -g serve tiddlywiki @deepseek-ai/dsh
\ No newline at end of file |
