‘cassandra’ is not recognized as an internal or external command, operable program or batch file.





When you see the message “‘cassandra’ is not recognized as an internal or external command, operable program or batch file” it means that the command or program “cassandra” is not recognized by your operating system’s command prompt or shell.

There can be several reasons for this issue:

1. Cassandra is not installed correctly:

If you have recently installed Cassandra, make sure it is installed correctly and the installation directory is added to your system’s PATH. The PATH environment variable contains a list of directories where the operating system looks for executable programs.

Here’s an example:


C:\> SET PATH=%PATH%;C:\cassandra\bin

2. Cassandra is not added to the system’s PATH:

If Cassandra is installed in your system, but its installation directory is not added to the PATH, you won’t be able to run the “cassandra” command from anywhere on the command prompt or shell.

Here’s an example:


C:\> SET PATH=%PATH%;C:\cassandra\bin

3. Misspelled command:

Double-check the spelling of the command you entered. The command “cassandra” might be misspelled or it could be a different command that you intended to run.

Make sure to verify the above possibilities and rectify any mistakes accordingly. Afterward, try running the “cassandra” command again.


Read more

Leave a comment