Scroll to navigation



Smalltalk - the GNU Smalltalk virtual machine


GNU Smalltalk usage:

gst [ flag ... ] [ file ... ] gst [ flag ... ] { -f | --file } file [ args ... ]

Short flags can appear either as -xyz or as -x -y -z. If an option is mandatory for a long option, it is also mandatory for a short one. The currently defined set of flags is:

Pass the remaining arguments to Smalltalk.
Dump core on fatal signal.
Trace compilation of all loaded files.
Trace execution of all loaded files.
Do not print garbage collection messages.
Print this message and exit.
Ignore the image file; rebuild it from scratch.
Rebuild the image file from scratch if any kernel file is newer.
Instead of `', use FILE as the image file, and ignore the kernel files' timestamps.
Make FILE's path relative to the image path.
Do not print execution information.
Run in regression test mode, i.e. make printed messages constant.
Save a snapshot just before exiting.
Print the Smalltalk version number and exit.
Show names of loaded files and execution stats.
Execute as a `process' (from within Emacs)
Look for kernel files in directory DIR.
Don't read user customization files.
Read input from standard input explicitly.

Files are loaded one after the other. After the last one is loaded, Smalltalk will exit. If no files are specified, Smalltalk reads from the terminal, with prompts.

In the second form, the file after -f is the last loaded file; any parameter after that file is passed to the Smalltalk program.


Written by Steve Byrne ( and Paolo Bonzini (

GNU Smalltalk comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Smalltalk under the terms of the GNU General Public License. For more information, see the file named COPYING.

Using default kernel path: /usr/share/gnu-smalltalk/kernel Using default image path: /usr/lib/gnu-smalltalk


Report bugs to <> GNU Smalltalk home page: <>. General help using GNU software: <>.

Copyright 2009 Free Software Foundation, Inc.


The full documentation for Smalltalk is maintained as a Texinfo manual. If the info and Smalltalk programs are properly installed at your site, the command

info gst

should give you access to the complete manual.

January 2020 Smalltalk version 3.2.5