Installation Guide
Package Managers
The Meroxa CLI can be installed and updated using the following operating system package managers:
Install via Homebrew (macOS/Linux)
If you haven't, download and install Homebrew.
Run the
brew tap
andbrew install commands
:
brew tap meroxa/taps && brew install meroxa
- Verify that
meroxa
was installed correctly withmeroxa version
:
meroxa version
If you see the following output, you're ready to Get Started:
meroxa/2.8.1 darwin/amd64
Upgrade to latest release (MacOS/Linux)
If you have installed the Meroxa CLI via Homebrew, run the following command to upgrade to the latest CLI version:
brew upgrade meroxa
Install via Scoop (Windows)
If you haven't already done so, download and install Scoop.
Add meroxa to scoop bucket and install it:
scoop bucket add meroxa https://github.com/meroxa/scoop-manifests ; scoop install meroxa
- Verify that
meroxa
was installed correctly withmeroxa version
:
meroxa version
If you see something similar to the following output, you're ready to Get Started:
meroxa/2.16.0 windows/amd64
Upgrade to latest release (Windows)
If you have installed the Meroxa CLI via scoop, run the following command to upgrade to the latest CLI version:
scoop status && scoop update meroxa
Pre-built Binaries (Cross Platform)
Meroxa currently provides pre-built binaries for the following:
- macOS (Darwin) for x64, i386,
- Windows
- Linux
You can download any of our generic and nightly build releases here:
Installing Binary onMacOS / Linux
Once downloaded, there are two common ways to install. You can place the binary in either of the following directories:
/usr/local/bin
$HOME/bin
Using /usr/local/bin
:
# switch directory
cd /usr/local/bin
# extract the tarball
tar xopf ~/Downloads/meroxa_2.8.1_Darwin_x86_64.tar
# verify installation
meroxa version
Using $HOME/bin
:
# create the directory if needed
mkdir -p $HOME/bin
# make it the working directory
cd $HOME/bin
# extract the tarball
tar xopf ~/Downloads/meroxa_2.8.1_Darwin_x86_64.tar
# verify installation
./meroxa version
To run meroxa
without the ./
, you will need to add $HOME/bin
to your $PATH
. Here is how you do that:
- Determine your default shell (zsh or bash).
echo $SHELL
- Edit your shell profile.
If your default shell is zsh:
nano ~/.zshrc
If your default shell is bash:
nano ~/.bash_profile
- In
~/.zshrc
or~/.bash_profile
add the following line to the file:
export PATH=$PATH:$HOME/bin
Save the file by pressing Control-X, then Y.
Close the terminal and open a new terminal to pick up the changes to your profile. Verify the change by running the
meroxa version
command.