---
name: "antidote-install"
section: "1"
platform: "linux"
package: "zsh-antidote"
version: "1.9.7-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/antidote-install"
---

# antidote-install(1)

install a bundle

## NAME

**antidote install** - install a bundle

## SYNOPSIS

antidote install \[-h\|--help\] \[-k\|--kind \<kind\>\] \[-p\|--path \<path\>\]

                 \[-a\|--autoload \<path\>\] \[-c\|--conditional \<func\>\]

                 \[--pre \<func\>\] \[--post \<func\>\]

                 \[-b\|--branch \<branch\>\] \<bundle\> \[\<bundlefile\>\]

## DESCRIPTION

**antidote-install** clones a new bundle and adds it to your plugins file.

The default bundle file is **${ZDOTDIR:-$HOME}/.zsh\_plugins.txt**. This can be overridden with the following **zstyle**:

  zstyle ':antidote:bundle' file /path/to/my/bundle\_file.txt

## OPTIONS

- \-h, --help

  Show the help documentation.

- \-k, --kind

  The kind of bundle. Valid values: autoload, fpath, path, clone, defer, zsh.

- \-p, --path

  A relative subpath within the bundle where the plugin is located.

- \-b, --branch

  The git branch to use.

- \-a, --autoload

  A relative subpath within the bundle where autoload function files are located.

- \-c, --conditional

  A conditional function used to check whether to load the bundle.

- \--pre

  A function to be called prior to loading the bundle.

- \--post

  A function to be called after loading the bundle.

- \<bundle\>

  Bundle to be installed.

- \[\<bundlefile\>\]

  Bundle file to write to if not using the default. Defaults to **${ZDOTDIR:-$HOME}/.zsh\_plugins.txt** or zstyle setting.

## EXAMPLES

  antidote install zsh-users/zsh-history-substring-search

## BUGS

See GitHub Issues: \<https://github.com/mattmc3/antidote/issues\>

## AUTHORS

- •

  Copyright (c) 2021-2024 Matt McElheny

- •

  antidote contributors: \<https://github.com/mattmc3/antidote/graphs/contributors\>

## LICENSE

MIT
