bumpversion command not found

In this troubleshooting guide we learn how to fix bumpversion command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bumpversion: command not found

or when using sudo you get the following error message

sudo: bumpversion: command not found

Solutions to bumpversion: command not found

How To Fix bumpversion: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bumpversion is provided by bumpversion package.

bumpversion is:

A small command line tool to simplify releasing software by updating all version strings in your source code by the correct increment.

Also creates commits and tags:

  • version formats are highly configurable
  • works without any VCS, but happily reads tag information from and writes commits and tags to Git and Mercurial if available
  • just handles text files, so it’s not specific to any programming language

To fix this problem, we can install more using the command below.

sudo apt-get -y install bumpversion

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install bumpversion.

sudo apt -y install bumpversion

Or if you have aptitude installed you can use the following command.

sudo aptitude install bumpversion

Summary

In this tutorial we learn how to fix bumpversion command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.