Install on Mac
Install using Homebrew
If you are using Mac, you can install the Yext CLI using Homebrew. If you don’t already have Homebrew installed, follow the installation instructions on the Homebrew site first. Then, you can run the following command to install the Yext CLI on your machine:
brew install yext/tap/yext
If the Yext CLI is already installed, you can upgrade your version with the following command:
brew upgrade yext
Debugging on a Mac
If you run into problems installing or running the CLI, look through the following debugging steps:
Make sure which yext outputs /usr/local/bin/yext. If not, run the following command and then open up a new bash shell before running the CLI again.
rm -f <output of "which yext">
Make sure there is no alias for yext with alias yext.
Run brew untap yext/tap and then brew install yext/tap/yext.
Install on Windows
Install with MSI Installer
If you are using a Windows machine, we recommend installing with MSI Installer.
Download the Yext CLI MSI installer for Windows: https://yext-cli-pub.s3.amazonaws.com/cli/windows/yext.msi
Run the downloaded MSI installer and follow the on-screen instructions. By default, the Yext CLI installs to
Open Powershell and run
yext initto get started.
Install on Linux
If you are using Linux, The Yext CLI can be installed via wget.
- Download the file:
- Put into path:
sudo mv yext /usr/local/bin.
- Make it executable:
chmod +x /usr/local/bin/yext.
Download the Latest Executable
You can download the latest executable directly here:
- Mac: https://yext-cli-pub.s3.amazonaws.com/cli/mac/yext
- Windows: https://yext-cli-pub.s3.amazonaws.com/cli/windows/yext
- Linux: https://yext-cli-pub.s3.amazonaws.com/cli/linux/yext
Enable Autocompletion (bash/zsh/powershell only)
Enabling autocompletion in the CLI will allow you to partially type a command and then press the
tab key to fill in the rest of the command. If you installed the Yext CLI using brew, this should happen automatically.
To enable autocompletion for the Yext CLI, follow the instructions generated by $ yext completion –help or the instructions found in our CLI reference for yext completion.