Installing SuiteCloud CLI for Java

Important:

Before downloading SuiteCloud CLI for Java, read the Oracle Free Use Terms and Conditions license below.

The following license terms apply to those Programs that are not provided to You under Separate Terms.

To install SuiteCloud CLI for Java, extract the installation package so you can then run CLI using Java.

Important:

The instance of SuiteCloud CLI for Java installed in your machine doesn't get updated automatically. Every time a new version of the CLI is released, you must update your SuiteCloud CLI for Java instance manually. You can download the latest version of the installation package from the link provided in the steps below.

To install SuiteCloud CLI for Java:

  1. Create a folder where you want to install SuiteCloud CLI for Java, like C:\javacli\ for Windows or /javacli/ for Linux and macOS.

  2. Adjust your PATH system environment variable to include the SuiteCloud CLI for Java directory. This lets you use SuiteCloud CLI for Java from any folder on your machine.

    • Select Control Panel > System > Advanced system settings.

    • Click Environment Variables...

    • Under System variable, select the PATH variable, and click Edit...

    • Click New, enter the SuiteCloud CLI for Java directory path, and click OK.

    • In the Environment Variables window, click OK. Then, in the System Properties window, click Apply, and then OK.

    Note:

    To set up a proxy server, create the SUITECLOUD_PROXY environment variable. The value must include an http or https protocol, a hostname, and a port number, for example: http://proxyurl:proxyport. After creating the variable, restart your console.

  3. Download the SuiteCloud CLI for Java and extract the contents to your SuiteCloud CLI for Java directory:

    The latest version of SuiteCloud CLI for Java is version 2025.2 and it's compatible with NetSuite 2025.2. To get it, use one of the following links:

    If you want to get the latest updates automatically, use one of the following links:

    If you want to use the previous version of the CLI, use one of the following links:

    Note:

    The packages include the JAR file and either the SuiteCloud CLI for Java bash or batch script, depending on your operating system.

    Now you can use SuiteCloud CLI for Java by running the sdfcli command.

  4. For Linux and macOS, make the sdfcli bash file executable by running this command from the SuiteCloud CLI for Java directory:

    chmod +x sdfcli

    Now you can use SuiteCloud CLI for Java by running the sdfcli command.

    Note:

    You need read, write, and execute access on any folder where you want to run SuiteCloud CLI for Java.

Related Topics

General Notices