---
id: 20261001-T0-07
title: "Vercel Agent支持安装npm私有包和自定义源依赖"
title_en: "Vercel Agent Now Installs Private npm and Custom Registry Packages"
url: https://ai.daily.yangsir.net/daily/20261001-T0-07
issue_date: 2026-10-01
publish_date: 2026-09-30T23:22:00.000Z
category: release
source_name: "Vercel Blog"
source_url: https://vercel.com/changelog/vercel-agent-now-installs-private-packages-from-npm-and-custom-registries
---

# Vercel Agent支持安装npm私有包和自定义源依赖

Vercel Agent现在可以通过Vercel上存储为共享环境变量的凭证，从npm和自定义registry安装私有依赖。在Agent会话中运行的npm、pnpm和经典版Yarn的认证方式与Vercel构建时一致。开发者只需添加一个共享环境变量即可开始使用，这意味着Agent可以在涉及私有包的项目中完成依赖安装，不再因权限问题中断。该功能对使用企业内部registry的团队尤其实用。

## English Version

**Vercel Agent Now Installs Private npm and Custom Registry Packages**

Vercel Agent can now install private dependencies from npm and custom registries using credentials stored as shared environment variables on Vercel. npm, pnpm, and classic Yarn running in Agent sessions authenticate the same way as in Vercel builds. Developers just need to add a shared environment variable to get started, enabling Agent to handle dependency installation in projects that rely on private packages without permission-related interruptions.

---

**来源**：[Vercel Blog](https://vercel.com/changelog/vercel-agent-now-installs-private-packages-from-npm-and-custom-registries)

**详情页**：https://ai.daily.yangsir.net/daily/20261001-T0-07

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*