未锁定版本的 npx 命令会下载并执行“latest”安装程序
原文依据:2 处安装指令使用 `npx -y ...@latest`,会跳过 npx 确认并执行调用时注册表提供的最新版代码。它还同时安装 CLI、CLI skills 和 build skills,范围超过仅为当前项目选择一个 SDK。
如果上游包被入侵、发布错误版本或未来改变行为,安装代码可在用户权限范围内修改项目或本机文件、访问环境中的凭据并打开浏览器流程。
该命令会通过 npx 获取并执行未锁定的最新版包,并用 `-y` 跳过确认;文档还说明它会安装 CLI、CLI skills 和 build skills,并启动浏览器认证。虽然这些组件符合该 onboarding skill 声明的用途,但安装范围较广,用户应在授权执行前确认确实需要全部组件及浏览器登录。
If you haven't installed yet, one command sets up both the CLI tools(for live web work) and the build skills (for app integration):```bashnpx -y firecrawl-cli@latest init --all --browser```This installs the Firecrawl CLI, the CLI skills, and these build skillstogether. It also opens browser auth so the human can sign in or createan account. No separate `npx skills add` step is needed.查看另外 1 个位置
This installs the Firecrawl CLI, the CLI skills, and these build skillstogether. It also opens browser auth so the human can sign in or createan account. No separate `npx skills add` step is needed.