← 返回命令列表

Linux command

squeak 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start Squeak

squeak

Run a specific image file

squeak [path/to/image.image]

Run in headless mode

squeak -headless [image.image]

Run with a specific memory size

squeak -memory [512m] [image.image]

Run with a specific sources file

squeak -pathenc utf8 [image.image]

Run with VM options

squeak -vm-sound-null [image.image]

说明

squeak is the virtual machine launcher for Squeak, an open-source Smalltalk programming environment. It executes Squeak image files, which contain the complete state of a Smalltalk system including all objects, classes, and the development environment. The VM provides a portable execution environment across platforms. When started without arguments, it looks for images in ~/squeak and /usr/share/squeak, or uses the image specified in the SQUEAK_IMAGE environment variable. Squeak includes a complete IDE with code browser, debugger, and GUI toolkit. The headless mode enables running Squeak applications as servers or in CI pipelines without graphical output. CommandShell provides Unix shell integration within the Squeak environment.

参数

-headless
Run without a graphical display. Useful for servers and CI environments.
-memory _size_
Set initial memory size (e.g., 256m, 1g).
-vm-sound-null
Disable sound output.
-vm-display-null
Use null display driver.
-encoding _enc_
Set character encoding for file operations.
-pathenc _enc_
Set path encoding (utf8, latin1).
-plugins _path_
Directory containing VM plugins.
-version
Display VM version information.
-help
Display help information.

FAQ

What is the squeak command used for?

squeak is the virtual machine launcher for Squeak, an open-source Smalltalk programming environment. It executes Squeak image files, which contain the complete state of a Smalltalk system including all objects, classes, and the development environment. The VM provides a portable execution environment across platforms. When started without arguments, it looks for images in ~/squeak and /usr/share/squeak, or uses the image specified in the SQUEAK_IMAGE environment variable. Squeak includes a complete IDE with code browser, debugger, and GUI toolkit. The headless mode enables running Squeak applications as servers or in CI pipelines without graphical output. CommandShell provides Unix shell integration within the Squeak environment.

How do I run a basic squeak example?

Run `squeak` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -headless do in squeak?

Run without a graphical display. Useful for servers and CI environments.