Install Inso CLI via NPM or using single executable.
Note: Inso CLI is currently only compatible with Node.js 12.x LTS. If you need to work with multiple Node.js versions on your local machine, you can use a tool like nvm (MacOS and Linux) or nvm-windows (Windows) to manage your versions.
Before you start, install Node.js. If you’re unsure if you have Node.js installed already (or which version), you can run the following command in your terminal:
node --version
If a version number prints, then you have Node.js installed. If the version is not 12, set up nvm on your local machine to work with Node.js 12.
Once you have installed Node.js, you can install Inso CLI globally on your system by running the following command in your terminal:
npm install --global insomnia-inso
Test that Inso CLI is installed by running:
inso --version
Inso CLI can be downloaded and run as a single executable on MacOS, Windows, and Linux. Download the release artifacts from GitHub Releases.
On Windows, you will need to extract the executable using 7zip, or via the command prompt:
tar -xf inso-windows-2.4.0.zip
./inso --version
Inso CLI can also be installed via Homebrew on MacOS:
brew install inso