Linux command
pharo 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch Pharo image
pharo [image.image]
Run headless
pharo --headless [image.image] [script.st]
Evaluate expression
pharo [image.image] eval "[expression]"
Start with GUI
pharo-ui [image.image]
说明
pharo is the launcher for Pharo Smalltalk, a modern, open-source Smalltalk environment. Pharo uses image-based persistence where the entire environment state is saved.
参数
- --headless
- Run without GUI.
- --no-quit
- Don't quit after script.
- eval
- Evaluate Smalltalk expression.
- --version
- Show version.
- image
- Pharo image file.
FAQ
What is the pharo command used for?
pharo is the launcher for Pharo Smalltalk, a modern, open-source Smalltalk environment. Pharo uses image-based persistence where the entire environment state is saved.
How do I run a basic pharo example?
Run `pharo [image.image]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --headless do in pharo?
Run without GUI.