> For the complete documentation index, see [llms.txt](https://commandbox.ortusbooks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://commandbox.ortusbooks.com/5.4.0/package-management/code-endpoints.md).

# Code Endpoints

For CommandBox to be able to install packages for you it needs to connect to package registry where packages are stored so it can download them for installation. CommandBox integrates seamlessly with ForgeBox, our community of ColdFusion (CFML) projects. CommandBox also integrates with HTTP(S), local file/folder, and Git endpoints.

## Supported Endpoints

Here is a list of the package endpoints currently supported by CommandBox.

* **ForgeBox** - Cloud-based packages [(*Read more*)](/5.4.0/package-management/code-endpoints/forgebox.md)
* **HTTP(S)** - Point to a hosted zip file containing a package  [(*Read more*)](/5.4.0/package-management/code-endpoints/http-s.md)
* **File**  - A local file containing a package [(*Read more*)](/5.4.0/package-management/code-endpoints/file.md)
* **Folder** - A local folder containing a package [(*Read more*)](/5.4.0/package-management/code-endpoints/folder.md)
* **Git** - Any Git repo containing a package [(*Read more*)](/5.4.0/package-management/code-endpoints/git.md)
* **Java** - Install OpenJDK for your servers [(Read more)](/5.4.0/package-management/code-endpoints/java.md)
* **Jar** - A jar file hosted via HTTP that's *not* contained in a zip file [(*Read more*)](/5.4.0/package-management/code-endpoints/jar-via-http.md)
* **Lex**- A Lucee Extension hosted via HTTP that's *not* contained in a zip file [(*Read more*)](/5.4.0/package-management/code-endpoints/lex-via-http.md)
* **S3** - A package zip stored in a private S3 bucket [(*Read more*)](/5.4.0/package-management/code-endpoints/s3.md)
* **CFLib** - UDFs posted on CFLib.org [(*Read more*)](/5.4.0/package-management/code-endpoints/cflib.md)
* **Gist** - A package hosted as a Gist from gist.github.com  [(*Read more*)](/5.4.0/package-management/code-endpoints/gist.md)

## Examples

```bash
install coldbox@3.8.1
install http://www.site.com/myPackage.zip
install /var/libs/myPackage.zip
install /var/libs/myPackage/
install git://github.com/username/repoName.git#v1.5.6
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://commandbox.ortusbooks.com/5.4.0/package-management/code-endpoints.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
