The Nextmv CLI is a command-line interface that allows you to manage and deploy decision models and interact with them. This guide walks you through removing the old Nextmv CLI (if applicable) and installing the new one.
1. Remove the old CLI
Remove the old CLI binary from your system, if you have it. More information about why we made this change and how to transition to the new CLI can be found in the migration guide.
Optionally, you can also clean up your PATH environment variable to remove any references to the old CLI installation: ~/.nextmv.
Open your shell configuration file (e.g.,
~/.zshrc,~/.bashrc,~/.bash_profile,~/.profile, or similar).Look for and delete lines similar to this.
Save the file and start a new terminal session for the changes to take full effect.
Verify that
.nextmvis no longer in your PATH:The output should not contain any
.nextmvdirectories.
2. Install the new Nextmv CLI
Python 3.10 or later is required. Install using the Python package manager of your choice. The CLI is available for macOS, Linux, and Windows.
Check that the CLI was installed successfully.