OS commands for the CylanceOPTICS agent Skip Navigation

OS commands for the
CylanceOPTICS
agent

The
CylanceOPTICS
agent installer supports the following OS commands.

Windows

Actions
Commands
Specify the installation directory.
INSTALLFOLDER=
<path>
Specify the directory for the local
CylanceOPTICS
data store.
OPTICSROOTDATAFOLDER=
<path>
Perform a silent installation with no user action required.
Any of the following:
  • -q
  • -quiet
  • -s
  • -silent
Create an installation log file.
Any of the following:
  • -l
    <path_for_log>
  • -log
    <path_for_log>
Uninstall the
CylanceOPTICS
agent.
"
<CylanceOPTICS_program_directory>
\CyOpticsUninstaller.exe"
For example:
"C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe"
To perform a silent uninstall that doesn't require user interaction, add the following commands:
--use_cli -t v20
If you configured the
CylanceOPTICS
agent to require an uninstall password, add the following command:
--password
<password>
For example:
"C:\Program Files\Cylance\Optics\CyOpticsUninstaller.exe" --use_cli -t v20 --password samplepass

macOS

Action
Commands
Install the
CylanceOPTICS
agent.
sudo installer -pkg CylanceOPTICS.pkg -target /
Install the
CylanceOPTICS
agent and create an installation log file.
sudo installer -verboseR -dumplog -pkg CylanceOPTICS.pkg -target /
Start the
CylanceOPTICS
service.
sudo launchctl load /Library/LaunchDaemons/com.cylance.cyoptics_service.plist
Stop the
CylanceOPTICS
service.
sudo launchctl unload /Library/LaunchDaemons/com.cylance.cyoptics_service.plist
Uninstall the
CylanceOPTICS
agent.
sudo /Applications/Cylance/Optics/Uninstall\ CylanceOPTICS.app/Contents/MacOS/Uninstall\ CylanceOPTICS
Uninstall the
CylanceOPTICS
agent with no UI.
sudo /Applications/Cylance/Optics/Uninstall\ CylanceOPTICS.app/Contents/MacOS/Uninstall\ CylanceOPTICS -noui
If you want to use this command, additional actions are required on
macOS
11.x devices. For more information, see the troubleshooting section in the Cylance Endpoint Security Administration content.

Linux

Action
Commands
Install the
CylanceOPTICS
agent on RHEL/CentOS, SUSE, or
Amazon
Linux
2.
yum install CylanceOPTICS-
<version>
.rpm
, where
<version>
is the version of the .rpm file.
Install the
CylanceOPTICS
agent on
Ubuntu
.
dpkg -i cylance-optics_
<version>
_amd64.deb
, where
<version>
is the version of the .deb file.
Start the
CylanceOPTICS
service.
systemctl start cyoptics.service
Stop the
CylanceOPTICS
service.
systemctl stop cyoptics.service
Uninstall the
CylanceOPTICS
agent on RHEL/CentOS, SUSE, or
Amazon
Linux
2.
rpm -e CylanceOPTICS
Uninstall the
CylanceOPTICS
agent on
Ubuntu
.
dpkg -P cylance-optics