Installation guide
Chapter 1. Introduction to the 3ware Command Line Interface
6 3ware SATA+SAS RAID Controller Card CLI Guide, Version 10.2
Installing the 3ware CLI on Mac OS X
3ware CLI can be installed from the 3ware software CD, or the latest version 
can be downloaded from the LSI web site,  http://www.lsi.com/channel/
ChannelDownloads. 
To install 3ware CLI on Mac OS X
• Run the installer and select CLI as the software to be installed.
For more complete instructions, see “Appendix B, Driver and Software 
Installation,” in the 3ware SATA+SAS RAID Controller Card Software 
User Guide, Version 10.2.
Permissions Required to Run CLI
To run CLI, you must be logged on with one of the following sets of 
permissions: 
• Administrator
• Root
You can also use SUDO to run CLI.
To start CLI 
• In a Terminal window, type
sudo ./tw_cli
If prompted, enter your password.
Working with 3ware CLI
You can work with the 3ware CLI in three different ways:
• Interactively, by entering commands at the main prompt
• As a series of single commands
• By creating a script – that is, an input file with multiple commands
The next topics shows examples of these different methods. 
• “Using the command interface interactively” on page 7
• “Using a single command with output” on page 7
• “Using an input file to execute a script” on page 8
• “Outputting the CLI to a Text File” on page 9
Examples shown in the CLI Syntax Reference chapter reflect the interactive 
method.










