{"id":15154144,"url":"https://github.com/1111mp/nvm-desktop","last_synced_at":"2026-05-02T04:01:18.717Z","repository":{"id":182615219,"uuid":"668801742","full_name":"1111mp/nvm-desktop","owner":"1111mp","description":"Node Version Manager Desktop - A desktop application to manage multiple active node.js versions.","archived":false,"fork":false,"pushed_at":"2026-04-24T21:32:15.000Z","size":5503,"stargazers_count":1352,"open_issues_count":3,"forks_count":63,"subscribers_count":12,"default_branch":"tauri","last_synced_at":"2026-04-24T23:26:30.986Z","etag":null,"topics":["node","nodejs","nvm","nvm-desktop","tauri","version-manager"],"latest_commit_sha":null,"homepage":"https://github.com/1111mp/nvm-desktop","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1111mp.png","metadata":{"files":{"readme":"README-zh_CN.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-20T16:09:43.000Z","updated_at":"2026-04-24T11:34:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"4dcf14bb-af8c-4d39-80dc-fd2f177a7300","html_url":"https://github.com/1111mp/nvm-desktop","commit_stats":{"total_commits":246,"total_committers":4,"mean_commits":61.5,"dds":"0.18292682926829273","last_synced_commit":"0fbb1f2387d58be31f4c28db2bc58a7c16805a97"},"previous_names":["1111mp/nvm-desktop"],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/1111mp/nvm-desktop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fnvm-desktop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fnvm-desktop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fnvm-desktop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fnvm-desktop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1111mp","download_url":"https://codeload.github.com/1111mp/nvm-desktop/tar.gz/refs/heads/tauri","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1111mp%2Fnvm-desktop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["node","nodejs","nvm","nvm-desktop","tauri","version-manager"],"created_at":"2024-09-26T17:03:09.736Z","updated_at":"2026-05-02T04:01:18.683Z","avatar_url":"https://github.com/1111mp.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/1111mp/nvm-desktop/assets/31227919/67132758-8aa9-4b05-b987-18fdd5980936\" alt=\"nvm-desktop\" /\u003e\n\u003c/div\u003e\n\n# nvm-desktop\n\n一个跨平台的 Node.js 版本管理工具，包含：\n\n- **图形界面**（`nvm-desktop`）\n- **命令行工具**（`nvmd`）\n\n支持 `macOS`、`Windows`、`Linux`。\n\n[English](./README.md) | 简体中文\n\n## 截图\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/a66ba500-10ba-4711-a625-c8707765621d\" width=\"32%\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/ed43197f-bcc1-40ef-80e2-1dd7c02afc81\" width=\"32%\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/a454f0a3-08fa-4f49-96a7-ef5f736e29c4\" width=\"32%\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/433c4b85-f2d5-4f12-9d7d-db97324dc550\" width=\"32%\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/55d3a674-24bf-4757-9fc4-772d069ad294\" width=\"32%\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/7bd7f510-da10-492b-961d-f447903bf942\" width=\"32%\" /\u003e\n\u003c/p\u003e\n\n## 适合谁用\n\n- 需要快速安装/卸载多个 Node.js 版本\n- 需要在不同项目之间切换 Node.js 版本\n- 希望同时拥有 GUI 和 CLI 两种工作方式\n- 需要把每个版本环境隔离，降低全局依赖冲突\n\n## 安装\n\n从发布页下载：\n\n- [GitHub Releases](https://github.com/1111mp/nvm-desktop/releases)\n\n安装后，先在终端确认命令可用：\n\n```shell\nnvmd -V\nnode -v\nnpm -v\n```\n\n## 核心用法（先看这个）\n\n### 1）安装 Node.js\n\n```shell\nnvmd install 20.18.0\n```\n\n### 2）查看已安装版本\n\n```shell\nnvmd ls\n```\n\n### 3）切换全局版本\n\n```shell\nnvmd use 20.18.0\nnode -v\n```\n\n### 4）为当前项目指定版本\n\n```shell\nnvmd use 18.20.4 --project\nnode -v\n```\n\n### 5）查看当前使用版本\n\n```shell\nnvmd current\n```\n\n### 6）卸载版本\n\n```shell\nnvmd uninstall 16.20.2\n```\n\n### 7）查看可执行文件路径\n\n```shell\nnvmd which node\nnvmd which npm\n```\n\n## 推荐项目工作流\n\n每个项目建议这样用：\n\n1. 进入项目根目录\n2. 执行 `nvmd use \u003cversion\u003e --project`\n3. 用 `node -v` 确认版本\n4. 再执行安装依赖、启动开发等操作\n\n这样可以保证每个仓库的 Node.js 环境更稳定一致。\n\n## GUI 怎么用\n\n在 `nvm-desktop` 中，你可以：\n\n- 浏览可安装的 Node.js 版本\n- 安装/卸载指定版本\n- 切换全局默认版本\n- 给项目绑定独立 Node.js 版本\n- 配置镜像源、语言等设置\n\n如果你更偏好点选操作，大部分常见需求都可以在 GUI 完成。\n\n## 数据存储位置\n\n`nvm-desktop` 默认数据目录：\n\n- macOS / Linux：`~/.nvmd`\n- Windows：`%HOMEPATH%\\.nvmd`\n\n常见内容：\n\n- `bin/`：`node`、`npm`、`npx`、`nvmd`、`corepack` 等 shim\n- `versions/`：已安装 Node.js 运行时\n- `default`：全局默认版本\n- `projects.json`：项目与版本绑定信息\n- `setting.json`：应用设置\n\n## 常见问题\n\n### 不同 Node.js 版本会共享全局 npm 包吗？\n\n默认**不会共享**（版本环境隔离）。\n\n如果你希望共享全局包，可设置统一前缀目录：\n\n```shell\nnpm config set prefix \"/path/to/shared-global\"\n```\n\n### 我该用 GUI 还是 CLI？\n\n- 想可视化管理，用 **GUI**\n- 想脚本化、自动化、终端优先，用 **CLI（`nvmd`）**\n\n## 本地开发\n\n前置依赖：\n\n- Rust\n- Node.js\n- pnpm\n\n运行：\n\n```shell\npnpm check\npnpm install\npnpm dev\n```\n\n构建：\n\n```shell\npnpm build\n```\n\n产物目录：\n\n- `./src-tauri/target/release/bundle`\n\n## 许可证\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1111mp%2Fnvm-desktop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1111mp%2Fnvm-desktop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1111mp%2Fnvm-desktop/lists"}