跳到主要内容

Extension Commands: extension

bohr extension manages local CLI extensions and installs companion tools such as Trisol and Wenyon. Its alias is ext.

Commands

CommandUsageDescription
addbohr extension add <path-or-url> [flags]Install an extension from a local path or URL.
infobohr extension info <name> [flags]Show detailed information about an extension.
install`bohr extension install [trisolwenyon] [flags]`
listbohr extension list [flags]List all discovered extensions.
pinbohr extension pin <name>@<sha256> [flags]Pin an extension to a specific binary hash.
removebohr extension remove <name> [flags]Remove a manifest-installed extension.
verifybohr extension verify <name> [flags]Verify extension signature and hash.

For subcommands inside a command group, run bohr extension <group> --help.

Install parameters

ParameterDescription
--channel <stable\|dev>Select a companion-tool release channel
--server <url>Override the download server for development or testing
--silentSuppress output and ignore installation errors
--dry-runDisplay the installation plan without downloading or writing files

Examples

bohr extension list
bohr extension add ./bohr-example-extension
bohr extension install trisol
bohr extension verify example

extension add currently accepts a local executable, not an HTTP URL. Installing, pinning, adding, or removing extensions changes files under the local Bohrium CLI directory.