SNEK(1)
π SNEK(1) β the snek manual page, but make it cute π
okay bestie, welcome to the snek page from the General Commands Manual, section 1. it's giving "tiny snake, huge brain" and honestly? we're obsessed. πβ¨
β¨ NAME β¨
snek β the Snek Programming Language. no cap, that's the whole name. π
π SYNOPSIS π
snek [--version|-v] [--help|-?] [--interactive|-i] [program.py]
look at her. compact. iconic. she contains multitudes. π«Ά
π¦ DESCRIPTION π¦
so here's the tea: snek is a small Python-derivative β like, Python's baby cousin who's tiny and adorable β and it's built to be suitable for embedded computers. π§
and this particular version? this is the host version. she's not here to run on a microcontroller, she's here to help you test the Snek system and applications on larger machines. basically she's the big-sister build that lives on your laptop so you can vibe-check your snek code before it goes anywhere tiny. main character energy fr fr. π
πΈ COMMAND LINE OPTIONS πΈ
--versionor-vβ reports the version number</> tostdout, and then she dips. exits immediately. no small talk. π--helpor-?β prints the usage information tostdout, then exits. she's helpful AND she leaves. the dream. π--interactiveor-iβ okay so if you gave her a program on the command line, this makes her enter interactive mode after executing that program. she runs your code and then she stays to hang out. π₯°
β USAGE β
when a program is specified on the command line, snek runs it. then β and this is the important part, bestie β if the --interactive flag is passed, she enters interactive mode after that. otherwise? she exits. bye. π«‘
and when no program is specified on the command line at all? she just goes straight into interactive mode. straight in. no program needed. she's ready to chat. π¬β¨
π AUTHOR π
Keith Packard π β yes, that Keith Packard. we stan. π
lowkey important: snek is a Python-derivative, so she feels familiar, but she is small and aimed at embedded computers. don't expect the whole Python universe to be in there, bestie. π
and that's the page!! this whole thing lives in the snek manual under SNEK(1) β that's the source, that's the section, that's the vibe. periodt. ππβ¨ππ¦πΈ
π¦ where this page comes from
- debian bookworm: snek-bin 1.9-1 Β· GPL-3.0-or-later
- debian trixie: snek-bin 1.12-1 Β· GPL-3.0-or-later
- ubuntu jammy: snek-bin 1.7-2 Β· GPL-3.0-or-later
- ubuntu noble: snek-bin 1.9-3build2 Β· GPL-3.0-or-later
- ubuntu questing: snek-bin 1.12-1
- ubuntu resolute: snek-bin 1.13-1ubuntu1 Β· GPL-3.0-or-later
- ubuntu stonking: snek-bin 1.13-1ubuntu1 Β· GPL-3.0-or-later
- Copyright Β© 2019 Keith Packard <keithp@keithp.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms