# Composer

So what is "Composer" to begin with? It's a PHP library that allows developers to easily include other PHP software in a project. With AdaptCMS, we use composer to pull in a framework and third-party libraries for many parts of the website. It auto-loads in these libraries and allows us to easily use those libraries quickly.

## How do I install it?

If your web server is running a newer version of Ubuntu, you should be able to install composer like this:

```
sudo apt-get install composer
```

If that doesn't do the trick, check out this guide:

[**https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-14-04**](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-14-04)

## Now what?

Okay, so if you type in "composer" into your terminal for your web server, you should see something like this:

![](/files/-LCoI4643euxUhVKPLZL)

If not, it may not be installed, see the above guide. If it is installed, navigate to the root of your site folder and run this command:

```
composer update --lock
```

That should be it!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.adaptcms.com/adaptcms/technology/composer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
