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

## 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: 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://commandbox.ortusbooks.com/5.4.0/package-management/code-endpoints.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.
