Install your plug-in
In this topic: |
As a desktop analysis user, once you've downloaded the installation package from the server, you must run the installer.
Before you begin
- You can override the default settings for the Validate Servers during installation. The defaults for the License Server are localhost and 27000. The default port for the Validate Server is 8080.
- On Windows: Avoid installing the package in the Program Files directory on Windows. Windows User Access Control (UAC) restricts writing to the Program Files directory.
- Validate Servers configuration screen: Specify the Validate Server information provided by your administrator. Select Use secure server connection (HTTPS) if a secure Server connection has been configured.
- Make sure that you have the appropriate administrator access before installing the desktop plug-in.
- On Linux:
- To control permissions when you are installing Validate, change the value of umask.
- To change the permissions on an existing installation, use chmod.
- Install Validate software as a non-root user.
- There is no separate plug-in for Android Studio on Windows or Linux: use the IntelliJ IDEA zip package to integrate with Android Studio.
On Windows
To install:
-
The command line tools, download the package and run the installation wizard. The installation wizard will guide you through the rest of the process.
-
IntelliJ IDEA, Android Studio, and CLion, see Installing the CLion/IntelliJ IDEA/Android Studio plug-ins.
-
Visual Studio, see Installing the Visual Studio plug-in.
-
VS Code, see Installing the VS Code extension.
On Linux
You can install the packages using the following command:
kw-<plug-in>-installer.sh [options] <install_directory>
Where
- <plug-in> is the name of the plug-in you want to install. For example, 'cmd'.
- [options] are any command line options you may want to specify. In most cases, just specify '-a' here to indicate that you agree to the terms of the Validate license. Use --h to get help on what available command line options exist.
- <install_directory> specifies the directory where the Validate plug-in is installed
Add the bin directory to your PATH
We recommend adding the <command_line_tools_install>/bin directory to your PATH environment variable. Procedures in the documentation assume that you have added the bin directory to your PATH.
Command-line options for the desktop analysis plug-in package on Unix
Name | Short name | Description |
---|---|---|
--agree | -a | agree to license terms and do not display license agreement |
--force | -f | install without integrity checks |
--help | -h | display this help and exit |
--validate-server <host>[:<port>] | specify the Validate Server host name and port number. Default: localhost:8080. | |
--license-server <host>[:<port>] | specify the License Server host name and port number. Default: localhost:27000 | |
--version | -v | display the version of Validate software and exit |
--use-ssl | set up secure connection using SSL | |
--debug | print the debug information |
Example: Installing the Command Line Tools package on Linux
kw-cmd-installer.linux64.sh -a /home/jlee/validate
where
- -a means that you agree to the terms of the Validate license
- /home/jlee/validate specifies where Validate is installed