Skip to main content

Installation

To obtain ns-scripting, you need to have a valid NSX Nexus account.

Prerequisites

Both Java 17 (or higher) and a local Maven installation is required for NSScript to run correctly. The path to the maven installation directory should be set in the MAVEN_HOME variable, if this is not the case, the mvn executable should be available on the system path. A Maven settings.xml file must also be set up in one of the search locations for Maven with configuration to access the repository which distributes NSScript.

Instructions

  • Download directly from Nexus
  • Install with Chocolatey:
    1. Install Chocolatey if needed.
    2. Set up Chocolatey with a new source:
      choco source add -n nsx-nexus -s https://nexus.normalizedsystems.org/repository/nuget-choco-public/ -u my-nexus-username -p my-nexus-password
    3. Install ns-initializer with or without 3rd party dependencies (Java, Maven, ...):
      • With dependencies:
        choco install ns-scripting
      • Without dependencies:
        choco install ns-scripting.install
  • Download using Maven:
    mvn dependency:copy "-Dartifact=net.democritus.scripting:ns-scripting-windows-installer:1.12.1:exe" "-DoutputDirectory=."