@damodi/scholarseed

中文文档
0.2.4发布于 2026/09/22MITCommonJS零依赖近 30 天下载 1993

ScholarSeed desktop app installer

原始使用文档
文档目录4 节
  1. Usage
  2. Install Behavior
  3. Uninstall Behavior
  4. Environment Variables

ScholarSeed Installer

Command-line installer for the ScholarSeed desktop app.

Usage

Install ScholarSeed:

npx @damodi/scholarseed
npx @damodi/scholarseed install

Uninstall ScholarSeed:

npx @damodi/scholarseed uninstall

Show help:

npx @damodi/scholarseed --help

Install Behavior

The installer downloads the latest ScholarSeed desktop package from the update service and runs the platform installer.

Supported platforms:

  • macOS
  • Windows x64

On macOS, the installer prefers /Applications. If that location cannot be used, it applies the appropriate recovery step based on the failure:

  • permission errors request administrator permission
  • in-use app errors try to quit the running app and retry
  • unrecoverable errors fall back to ~/Applications

On Windows, the installer runs the desktop installer in silent mode and waits for the installation to complete before returning.

Uninstall Behavior

The uninstall command refuses to run while ScholarSeed is still running. Quit ScholarSeed first, then rerun:

npx @damodi/scholarseed uninstall

On Windows, the uninstall command waits for the installation directory to be removed before reporting success.

Environment Variables

VariableDescriptionDefault
SCHOLARSEED_UPDATE_APIUpdate service endpointhttps://scholarseed.damo.alibaba.com/api/v1/updates
SCHOLARSEED_CHANNELRelease channelrelease
SCHOLARSEED_INSTALL_DIRmacOS install directory/Applications
SCHOLARSEED_APP_NAMEmacOS app bundle nameScholarSeed.app
SCHOLARSEED_SKIP_POSTINSTALLSkip automatic install during postinstall when set to 1 or trueunset

版本与发布记录

@damodi/scholarseed 共发布 9 个版本,首次发布于 2026/09/09;过去 12 个月发布了 9 个版本。

版本发布日期距今
0.2.4latest2026/09/221 个月前
0.2.32026/09/221 个月前
0.2.22026/09/181 个月前
0.2.12026/09/171 个月前
0.2.1-beta.2beta2026/09/171 个月前
0.2.1-beta.12026/09/171 个月前

关于 @damodi/scholarseed 的常见问题

@damodi/scholarseed 是什么?

ScholarSeed desktop app installer

如何安装 @damodi/scholarseed?

在项目目录运行 npm install @damodi/scholarseed,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 scholarseed,可以用 npx scholarseed 直接运行。

@damodi/scholarseed 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/damodi__scholarseed 是否存在。

@damodi/scholarseed 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@damodi/scholarseed 可以商用吗?

@damodi/scholarseed 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@damodi/scholarseed 的下载量有多少?

根据 npm 官方下载统计,@damodi/scholarseed 在 2026/10/11 – 2026/11/09 这 30 天内被下载 1,993 次,日均约 66 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@damodi/scholarseed 还在维护吗?

最新版本 0.2.4 发布于 2026/09/22(1 个月前);至今共发布 9 个版本,其中过去 12 个月发布了 9 个;首次发布于 2026/09/09。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。