Skip to main content

How to add Conduit to your Path

· 2 min read

Adding Conduit to your path makes it easy to start Conduit locally on your machine. From anywhere in your terminal, you’ll be able to run:

Conduit in Terminal

Adding to Environment

These instructions are specific to UNIX-based machines. However, you may find instructions for other operating systems here: How to Add a Binary (or Executable, or Program) to Your PATH on macOS, Linux, or Windows.

To accomplish this, it’s best practice to place a bin folder in your home directory and add it to your path:

mkdir ${HOME}/bin

If you’d prefer to add the binary to an existing path, you may see what's currently in your $PATH with the following command:

echo $PATH

Next, you’ll want to make sure your new folder is in your $PATH. You can do this by updating your shell profile.

Zsh

vi ${HOME}/.zshrc

Bash

vi ${HOME}/.bashrc

In your shell profile, add the following line:

export PATH="${PATH}:${HOME}/bin"

Lastly, restart your terminal.

Downloading the Conduit binary

You may download the binary for your machine architecture here: Releases · ConduitIO/conduit.

After downloading, place your binary in the directory you created earlier: ${HOME}/bin . Now, in your session, you should be able to run the conduit command.

Enjoy ☕.