下载项目
git clone https://github.com/nanbingxyz/5ire.git
安装asdf
brew install asdf
#用asdf安装nodejs插件
asdf plugin add nodejs
安装nodejs v20.10.0
asdf install nodejs 20.10.0
npm install
创建虚拟环境
python3 -m venv venv
激活脚本
source venv/bin/activate
安装项目依赖:
# 设置npm使用淘宝镜像
npm config set registry https://registry.npmmirror.com
# 然后重新安装
npm install
2.全局安装tsx:
npm install -g tsx
3.或者使用npx直接运行:
npx tsx ./.erb/scripts/check-port-in-use.js && npm run start:renderer
作者:admin 创建时间:2025-04-29 18:22
最后编辑:admin 更新时间:2025-04-29 19:38