wish can be run without parameters. Then the % prompt is displayed and the interpreter awaits for commands entered interactively by the user. An empty window is opened in which the widgets created by user commands are displayed. This mode is suitable for experimenting.
More often wish is run with a name of a file containing a Tcl/Tk script as a parameter. It is also possible to run directly Tcl/Tk scripts; in Unix using the shebang construction; in Windows by associating the .tcl extension with the wish program.
^
Gray, Mary (May 20, 1988), Wish – A Window-Based Shell for X(PDF), Computer Science Department, University of California, Berkeley, retrieved November 8, 2016
^Flynt, Clif (2012-01-17). Tcl/Tk: A Developer's Guide (3rd ed.). Elsevier: Morgan Kaufman. p. 17. ISBN978-0-12-384717-1.