1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/swipl.md
2021-11-15 21:12:08 +01:00

24 lines
410 B
Markdown

# swipl
> SWI-Prolog - A comprehensive free Prolog environment.
> More information: <https://www.swi-prolog.org/>.
- Start an interactive session:
`swipl`
- Execute a command without showing any output:
`swipl --quiet -t "{{command}}"`
- Execute a script:
`swipl {{path/to/file.pl}}`
- Print all shell configuration variables:
`swipl --dump-runtime-variables`
- Print the version:
`swipl --version`