Supported Languages
These are the default commands templates. Quikrun detects the language from the file extension if shebang is not present.
NOTE
@extmeans the commands from theextextension 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.
| Extension | Command |
|---|---|
.bash / .sh | bash {file} |
.dart | dart run {file} |
.fish | fish {file} |
.java | java {file} |
.jl | julia {file} |
.js / .cjs / .mjs | bun run {file} → deno run {file} → node {file} |
.lua | lua {file} |
.php | php {file} |
.pl | perl {file} |
.py | python3 {file} (Linux/macOS)python {file} (Windows) (POSIX/PowerShell)python {file} (CMD) |
.r | Rscript {file} |
.rb | ruby {file} |
.swift | swift {file} |
.ts / .mts | @js → ts-node {file} |
.zsh | zsh {file} |
Compiled
Compiled languages are built first, then the resulting binary is executed. The binary is written to a temporary path.
| Extension | Compile Command | Run Command |
|---|---|---|
.c | gcc -Wall -Wextra {file} -o {out} | {out} |
.cpp / .c++ / .cxx | g++ -std=c++23 -Wall -Wextra -Wshadow {file} -o {out} | {out} |
.go | go build -o {out} {file} | {out} |
.hs | ghc -o {out} {file} | {out} |
.kt | kotlinc {file} -include-runtime -d {out_stem}.jar | java -jar {out_stem}.jar |
.nim | nim c --out:{out} {file} | {out} |
.rs | rustc {file} -o {out} | {out} |
.v | v -o {out} {file} | {out} |
.zig | zig build-exe {file} -femit-bin={out} | {out} |