Installation From Source

April 2, 2025 ยท View on GitHub

In order to run imap-backup from source, you'll need Ruby and Git.

Next, clone the repository:

git clone https://github.com/joeyates/imap-backup.git

If you want to use a branch other than main:

git checkout --track -b BRANCH origin/BRANCH

Install dependencies:

cd imap-backup
gem install bundler --version=2.3.22
bundle install

Check that it runs:

bin/imap-backup version

If you get something like

imap-backup 14.4.4

congratulations, you have succesfully built imap-backup.

You can now run the following to see the built-in help:

bin/imap-backup help