

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 安装程序包管理器或构建工具
<a name="getting-started-install-package-manager"></a>

要从中发布或使用软件包 CodeArtifact，必须使用包管理器。每种程序包类型都有不同的程序包管理器。以下列表包含一些可以与一起使用的软件包管理器 CodeArtifact。如果尚未安装程序包管理器，请为要使用的程序包类型安装程序包管理器。
+ 对于 npm，请使用 [npm CLI](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) 或 [pnpm](https://pnpm.io/installation)。
+ 对于 Maven，请使用 [Apache Maven (`mvn`)](https://maven.apache.org/install.html) 或 [Gradle](https://gradle.org/install/)。
+ 对于 Python，使用 [pip](https://pip.pypa.io/en/stable/installation/) 来安装程序包，使用 [twine](https://twine.readthedocs.io/en/stable/#installation) 来发布程序包。
+ 对于 NuGet，请使用 [Visual Studio 中的 Visual Studio 工具包](https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/setup.html)或 [nuget](https://learn.microsoft.com/en-us/nuget/reference/nuget-exe-cli-reference) 或 [dot](https://learn.microsoft.com/en-us/dotnet/core/install/) CLIs net。
+ 对于[通用](using-generic.md)程序包，请使用 [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) 或 SDK 来发布和下载程序包内容。

## 后续步骤
<a name="getting-started-install-package-manager-next-steps"></a>

接下来的步骤将取决于您使用的是哪种或多种软件包类型 CodeArtifact，以及您的 CodeArtifact 资源状态。

如果您是首次 CodeArtifact 为自己、您的团队或组织开始使用，请参阅以下文档，了解一般的入门信息以及创建所需资源的帮助。
+ [通过控制台开始使用](getting-started-console.md)
+ [开始使用 AWS CLI](getting-started-cli.md)

如果您的资源已经创建，并且您已准备好将包管理器配置为将软件包推送到存储库或从 CodeArtifact 存储库安装软件包，请参阅与您的软件包类型或包管理器相对应的文档。
+ [将 CodeArtifact 与 npm 结合使用](using-npm.md)
+ [CodeArtifact 与 Python 一起使用](using-python.md)
+ [将 CodeArtifact 与 Maven 结合使用](using-maven.md)
+ [将 CodeArtifact 与 NuGet 结合使用](using-nuget.md)
+ [CodeArtifact 与通用包一起使用](using-generic.md)