Insomnia logo
  • Documentation
  • Download
  • Upgrade
    • Introduction to Insomnia
    • Install Insomnia
    • Migrate from Designer
    • Import and Export Data
    • Environment Variables
    • HTTP(S) Proxy
    • Insomnia Configuration File
    • Responses
    • Request Collections
    • Request Timeouts
    • Chaining Requests
    • Post CSV Data
    • SOAP Requests
    • Teams
    • Projects
    • Sync with Git
    • Version Control Sync
    • Design Documents
    • Linting
    • GraphQL for OpenAPI
    • Live Preview
    • Unit and Stress Testing
    • Key Security Features
    • Security Standards
    • Signup and Authentication
    • Data Encryption
    • Authentication
    • Client Certificates
    • Generate Code Snippet
    • Cookie Management
    • Encoding
    • GraphQL Queries
    • gRPC
    • Run in Insomnia Button
    • Key Maps
    • Introduction to Plugins
    • Context Object Reference
    • Template Tags
    • Hooks and Actions
    • Custom Themes
    • FAQ
    • Application Data
    • SSL Validation
    • Password Recovery
    • Introduction to Inso CLI
    • Install Inso CLI
    • CLI Command Reference
      • inso generate config
      • inso run test
      • inso lint spec
      • inso export spec
      • inso script
    • Configuration
    • Continuous Integration
    • Publish API to Dev Portal
    • Kong Declarative Config (for decK)
    • Kong for Kubernetes

Install Inso CLI

Install Inso CLI using our single executable commands for your operating system, or by using NPM.

Install Single Executable

Inso CLI can be downloaded and run as a single executable on MacOS, Windows, and Linux. Download the release artifacts from GitHub Releases.

To use our single executable options, select your operating system.

On MacOS, download the MacOS zip or pkg from GitHub or use Homebrew. If you use the pkg option, click through the prompt window as you normally would when downloading an app from the internet.

Extract the Zip File

If you download the zip file, extract it from Finder or with the following command:

tar -xf inso-macos-2.4.0.zip
Check that Inso CLI was properly installed with the following command:

./inso --version

Use Homebrew

Install Inso CLI using Homebrew with the following command:

brew install inso
Check that Inso CLI was properly installed with the following command:

inso --version
On Windows, download the Windows zip file from GitHub. Then, extract the executable using 7zip, or via the following command:

tar -xf inso-windows-2.4.0.zip
Check that Inso CLI was properly installed with the following command:

./inso --version
On Linux, download the Linux tar file from GitHub. Extract the file by using the following command:

tar -xf inso-linux-2.4.0.tar.xz
Check that Inso CLI was properly installed with the following command:

./inso --version

Install via NPM

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.

Prerequisites

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.

Install Globally

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
Edit this page
Report an issue
    COMPANY
  • Insomnia
  • Blog
  • Changelog
  • Pricing
  • Careers
    PRODUCTS
  • Insomnia
  • Inso (CLI)
    RESOURCES
  • Sign In
  • Documentation
  • Support
    LEGAL
  • Privacy Policy
  • Terms & Conditions
© Kong Inc. 2021