Skip to content

EN Getting Started

Arena Agent edited this page Sep 18, 2026 · 2 revisions

Getting Started | شروع کار

Install | نصب

Download a release archive, place bin/plix (or bin/plix.exe) on your PATH, then verify it:

plix --version

برای ساخت از کد منبع، Rust پایدار و linker سیستم لازم است:

cargo build --release --locked
./target/release/plix --version

Docker is also available:

docker run --rm plixlang/plix:latest --version

Your first program | اولین برنامه

Create hello.px:

func greet(name: string) -> string {
    return "Hello, ${name}!";
}

say(greet("Plix"));

Run it:

plix run hello.px

برای ساخت فایل native:

plix build hello.px -o hello
./hello

plix run برای iteration سریع و خطاهای خوانا مناسب است؛ plix build خروجی اجرایی native تولید می‌کند.


Learning path: ← Learning Hub · Installation →

Clone this wiki locally