---
title: "How do I install private packages through Composer?"
date: "2025-05-26T12:25:17+00:00"
summary: "Learn how to install private packages with Composer using auth.json for secure authentication in Acquia Code Studio CI/CD jobs."
image:
type: "article"
url: "/acquia-cloud-platform/add-ons/code-studio/help/69136-how-do-i-install-private-packages-through-composer"
id: "9c881d53-f3a6-4474-856c-0a2ddba0c486"
---

Composer provides [multiple mechanisms for downloading private packages](https://getcomposer.org/doc/articles/authentication-for-private-packages.md). Acquia recommends that you store authentication credentials in a project `auth.json`. For more information, see [Authentication in auth.json per project](https://getcomposer.org/doc/articles/authentication-for-private-packages.md#authentication-in-auth-json-per-project).

This works in Code Studio CI/CD jobs.