diff options
| author | shu <nvcsadjkojf@outlook.com> | 2026-10-30 15:55:23 +0800 |
|---|---|---|
| committer | shu <nvcsadjkojf@outlook.com> | 2026-10-30 15:55:23 +0800 |
| commit | 67b495cc269d5777485ae542bf389ccb630886e9 (patch) | |
| tree | 2b300c6e0549cf6921b2c0eea9c2a7a209641d89 /scripts/51_dev.sh | |
| parent | 3d12f6ebbda9baa3d8d0646daf298718c8548579 (diff) | |
补充 fnm shell 提示最新写法;补充 vscode plantuml 设置;调整系统服务文件;调整开发环境配置方式。
Diffstat (limited to 'scripts/51_dev.sh')
| -rwxr-xr-x | scripts/51_dev.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/51_dev.sh b/scripts/51_dev.sh index 10cf726..871ce1a 100755 --- a/scripts/51_dev.sh +++ b/scripts/51_dev.sh @@ -1,12 +1,19 @@ #/bin/bash CURRENT_VERSION=24 -FNM_NODE_DIST_MIRROR=https://mirrors.nju.edu.cn/nodejs-release/ +export FNM_NODE_DIST_MIRROR=https://mirrors.nju.edu.cn/nodejs-release/ +export RUSTUP_UPDATE_ROOT=https://mirror.nju.edu.cn/rustup/rustup +export RUSTUP_DIST_SERVER=https://mirror.nju.edu.cn/rustup fnm install $CURRENT_VERSION fnm use $CURRENT_VERSION + +export PATH=$HOME/.local/npm/bin:$PATH npm i -g pnpm + pnpm setup +export PATH=$HOME/.local/share/pnpm/bin:$PATH pnpm i -g serve tiddlywiki @deepseek-ai/dsh +rustup toolchain install stable rustup default stable
\ No newline at end of file |
