# Starting Komodo

## Windows

From within the Windows environment, use one of the following methods to launch Komodo:

- double-click the Komodo desktop icon
- launch Komodo from the Windows program menu (Start|Programs|ActiveState Komodo <version>|Komodo)
- right click a file name in Windows Explorer (and other dialogs that support the standard Windows right-click context menu) and select Edit with Komodo

To start Komodo from a command prompt, enter:

    komodo [options] [filenames]

Multiple filenames may be specified; all specified filenames will be loaded in the Komodo editor pane.

The following command-line options are available:

- Help: `-h` or `--help`
- Show Komodo version: `-V` or `--version`
- Open at a specified line number: `-l line` or `--line=line`
- Open with a specified range selected: `-s range` or `--selection=range`
  (e.g. `komodo -s 1,5-2,15 example.py` would open `example.py` and select from line 1 and column 5 to line 2 column 15)

## Mac OS X

From within the OS X environment, use one of the following methods to launch Komodo:

- In the Dock, click the Komodo icon.
- In the Dock, click the "Finder" icon. In the left pane of the Finder dialog box, select Applications. In the right pane of the Finder, double-click the Komodo file.
- On the Finder's Go menu, click Applications. In the right pane, double-click the Komodo file.

To start Komodo from the Terminal:

If you want to start to Komodo from the command line, it is best to first create an alias for 'komodo':

    alias komodo='open -a "Komodo IDE"'

If you're using Komodo Edit, modify the command accordingly:

    alias komodo='open -a "Komodo Edit"'

This line can be added to your `~/.bash_profile`.

Once the alias is set, the following syntax applies:

    komodo [options] [filenames]

All command line options described in the Windows section are available.

## Linux

To start Komodo from a shell prompt, enter:

    komodo [options] [filenames]

All command line options described in the Windows section are available.

Desktop icons and taskbar applets are not added automatically during installation on Linux. Check your window manager documentation for information on creating these manually. A choice of Komodo icons is available. By default, the icon files (.xpm) are stored in the Komodo installation directory.