Step 1: Install the Yext CLI

As you’ve probably guessed, the first step is to install the Yext CLI. You can find the full installation instructions here if you need them.

Mac OS

If you are using a 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

Windows

If you are using a Windows machine, we recommend installing with MSI Installer.

  1. Download the Yext CLI MSI installer for Windows: https://yext-cli-pub.s3.amazonaws.com/cli/windows/yext.msi

  2. Run the downloaded MSI installer and follow the on-screen instructions. By default, the Yext CLI installs to LOCALAPPDATA directory.

  3. Open new Powershell after installation and run yext init to get started.

Linux

If you are using Linux, The Yext CLI can be installed via wget. https://yext-cli-pub.s3.amazonaws.com/cli/linux/yext

For Debian based distributions, including Ubuntu, you can install the Yext CLI by running the following commands and ensuring the Yext executable is included in your path.

wget https://yext-cli-pub.s3.amazonaws.com/cli/linux/yext
sudo mv yext /usr/local/bin
chmod +x /usr/local/bin/yext