Skip to content

Supported Languages

These are the default commands templates. Quikrun detects the language from the file extension if shebang is not present.

NOTE

  • @ext means the commands from the ext extension are inherited in the current extension.
  • -> means the binary/command is tried to find in order.

Interpreted

Interpreted languages are run directly using the interpreter.

ExtensionCommand
.bash / .shbash {file}
.dartdart run {file}
.fishfish {file}
.javajava {file}
.jljulia {file}
.js / .cjs / .mjsbun run {file}deno run {file}node {file}
.lualua {file}
.phpphp {file}
.plperl {file}
.pypython3 {file} (Linux/macOS)
python {file} (Windows) (POSIX/PowerShell)
python {file} (CMD)
.rRscript {file}
.rbruby {file}
.swiftswift {file}
.ts / .mts@jsts-node {file}
.zshzsh {file}

Compiled

Compiled languages are built first, then the resulting binary is executed. The binary is written to a temporary path.

ExtensionCompile CommandRun Command
.cgcc -Wall -Wextra {file} -o {out}{out}
.cpp / .c++ / .cxxg++ -std=c++23 -Wall -Wextra -Wshadow {file} -o {out}{out}
.gogo build -o {out} {file}{out}
.hsghc -o {out} {file}{out}
.ktkotlinc {file} -include-runtime -d {out_stem}.jarjava -jar {out_stem}.jar
.nimnim c --out:{out} {file}{out}
.rsrustc {file} -o {out}{out}
.vv -o {out} {file}{out}
.zigzig build-exe {file} -femit-bin={out}{out}