Interface: BinOptions
Options for ensure.
Properties
Section titled “Properties”autoUnpackage?
Section titled “autoUnpackage?”
optionalautoUnpackage?:boolean
destination?
Section titled “destination?”
optionaldestination?:BinContext
Exact installation paths. Omission keeps $HOME/.<name>/bin/<name>.
force?
Section titled “force?”
optionalforce?:boolean
Reinstall even when the destination already passes validation.
homeDir?
Section titled “homeDir?”
optionalhomeDir?:string
minVersion?
Section titled “minVersion?”
optionalminVersion?:string
Minimum accepted numeric version, with one to three components.
package?
Section titled “package?”
optionalpackage?:BinPackageOptions
Preserve an unpacked multi-file package rooted at BinContext.root.
selector?
Section titled “selector?”
optionalselector?:BinSelector
skipVersionCheck?
Section titled “skipVersionCheck?”
optionalskipVersionCheck?:boolean
Skip --version and treat an executable file as acceptable.
versionArgument?
Section titled “versionArgument?”
optionalversionArgument?:string
Argument passed to the binary for version detection. Defaults to --version.
versionParser?
Section titled “versionParser?”
optionalversionParser?:BinVersionParser
Version output parser. Defaults to parseVersion.