Please find the following sections for installing Nextmv Platform components:
- Nextmv CLI: command line interface built for developers.
- Nextmv Go SDK: if you are working with Go.
- Nextmv Python SDK: if you are working with Python.
- VSCode: we recommend the use of VSCode as your code editor.
Nextmv is available for macOS and Linux. For Windows users, we recommend the use of WSL.
If you have any questions, please contact support.
The Nextmv CLI is a command line interface that lets you easily interact with the other components of the Nextmv Platform.
Export your Nextmv API key as an environment variable:
Run the following script to install Nextmv CLI:
Copyexport NEXTMV_BASE_URL=https://api.cloud.nextmv.io curl -sS "https://cloud.nextmv.io/install-cli.txt" | bash -
After downloading and installing, the last step is to configure Nextmv CLI with your account:
To display more information about a command, use
help or the
Nextmv Go SDK provides a set of APIs to build decision models. It also comes with a set of community apps for solving domain-specific optimization problems. Community apps include everything needed to run a model and can be used as the foundation for building a custom decision app.
First, let’s use Nextmv CLI to install Nextmv SDK locally. The following command will install Go and get the necessary plugins and other supporting files needed to build and run custom models locally.
Nextmv SDK manages its own Go installation and will not affect your current Go installation, if you have one.
If you’re on macOS you may need to run a command to allow access to Nextmv SDK. This command will be output at the end of the installation process.
Install WSL for Windows. You can find the installation instructions here. We recommend using Ubuntu.
If this is your first time installing WSL, you may receive an error when running a Nextmv template stating that you need gcc installed. In order to do so, you have to run: