Installation
Install third-party software:
Install Tarantool 1.10 or higher:
You can:
[For all platforms except macOS] If you build Tarantool from source, you need to set up the Tarantool packages repository manually:
curl -L https://tarantool.io/release/2/installer.sh | sudo -E bash -s -- --repo-only
Install the
cartridge-cli
package:For CentOS, Fedora, ALT Linux (RPM package):
sudo yum install cartridge-cli
For Debian, Ubuntu (DEB package):
sudo apt-get install cartridge-cli
For MacOS X (Homebrew formula):
brew install cartridge-cli
Or build locally:
mage build
Check the installation:
cartridge version
The cartridge-cli
RPM and DEB packages contain a Bash completion script,
/etc/bash_completion.d/cartridge
.
To enable completion after cartridge-cli
installation, open a new shell or
source the completion file at /etc/bash_completion.d/cartridge
.
Make sure that you have bash-completion
installed.
To install Zsh completion, run:
cartridge gen completion --skip-bash --zsh="${fpath[1]}/_cartridge"
Now enable shell completion:
echo "autoload -U compinit; compinit" >> ~/.zshrc