Skip to content

Quick start

DC* edited this page May 20, 2017 · 8 revisions

Once requirements are met you can follow this guide.

Get latest stable release

curl -L git.io/antigen > $HOME/antigen.zsh

Antigen should be installed in your $HOME directory. You could alternatively use a package manager for your operative system.

You can get our nightly build at git.io/antigen-nightly.

Load antigen in your current shell

source $HOME/antigen.zsh

Now you should be able to use Antigen interactively:

antigen help

Use antigen<Tab> to see a listing of available commands.

With Antigen loaded you can load bundles as shown in the show-off section.

Configure .zshrc

We recommend rather than .zshrc to use .antigenrc but both methods are perfectly valid.

.zshrc:

source $HOME/antigen.zsh
    
# Load the oh-my-zsh's library
antigen use oh-my-zsh

antigen bundle <<EOBUNDLES
    # Bundles from the default repo (robbyrussell's oh-my-zsh)
    git

    # Syntax highlighting bundle.
    zsh-users/zsh-syntax-highlighting

    # Fish-like auto suggestions
    zsh-users/zsh-autosuggestions

    # Extra zsh completions
    zsh-users/zsh-completions
EOBUNDLES

# Load the theme
antigen theme robbyrussell

# Tell antigen that you're done
antigen apply

Next time you open up a terminal you'll see Antigen installing your plugins and you'll be ready to go!