This file has been truncated. show original
# The `cblite` Tool
`cblite` is a command-line tool for inspecting and querying [LiteCore][LITECORE] and [Couchbase Lite][CBL] databases (which are directories with a `.cblite2` extension.)
For build instructions, see [BUILDING.md](BUILDING.md). For convenience, binaries are available in the [Releases](https://github.com/couchbaselabs/couchbase-mobile-tools/releases) tab.
> NOTE: The _source code_ for the tools is Apache-licensed, as specified in [LICENSE](https://github.com/couchbaselabs/couchbase-mobile-tools/blob/master/LICENSE). However, the pre-built [cblite](https://github.com/couchbaselabs/couchbase-mobile-tools/blob/master/README.cblite.md) binaries are linked with the Enterprise Edition of Couchbase Lite, so the usage _of those pre-built binaries_ will be guided by the terms and conditions specified in Couchbase's [Enterprise License](https://www.couchbase.com/ESLA01162020).
Official support of the `cblite` tool is not yet available. This applies also to the pre-built binaries that are linked with the Enterprise Edition of Couchbase.
| Command | Purpose |
| `cblite cat` | Display the body of one or more documents |
| `cblite cp` | Replicate, import or export a database |
| `cblite file` | Display information about the database |
| `cblite help` | Display help text |
| `cblite ls` | List the documents in the database |
| `cblite put` | Create or update a document |