From 29998567711be28dcec33c6276c3bedf0218e8ef Mon Sep 17 00:00:00 2001 From: PaddiM8 Date: Sun, 5 Sep 2021 17:14:49 +0200 Subject: [PATCH] Added info about package managers to REAMDE --- README.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a5777ab..382882a 100644 --- a/README.md +++ b/README.md @@ -24,16 +24,16 @@ Kalker (or "kalk") is a calculator program/website that supports user-defined va * Load a file including predefined functions and constants. For example, if you're going to use kalker for physics, you load up your file with physics functions/constants when starting kalker. `-i file` * Misc: separate expressions by a semicolon to write them on the same line, use the `ans` variable to get the value of the previously calculated expression. -## Libraries - -There are currently three different libraries related to kalker. - -* [kalk](https://crates.io/crates/kalk): The Rust crate that powers it all. -* [@paddim8/kalk](https://www.npmjs.com/package/@paddim8/kalk): JavaScript bindings for `kalk`. This lets you use it in the browser thanks to WebAssembly. -* [@paddim8/kalk-component](https://www.npmjs.com/package/@paddim8/kalk-component): A web component that runs `@paddim8/kalk`, which let's you use kalk in the browser with a command line-like interface. - ## Installation +### Package managers + +#### macOS +`brew install kalker` + +#### Arch Linux +`kalker` in the AUR, eg. `yay -S kalker` + ### Binaries Pre-compiled binaries for Linux, Windows, and macOS (64-bit) are available in the [releases page](https://github.com/PaddiM8/kalker/releases). @@ -52,6 +52,14 @@ Run `cargo install kalker` 2. Run `cargo build --release` 3. Grab the binary from `targets/release` +## Libraries + +There are currently three different libraries related to kalker. + +* [kalk](https://crates.io/crates/kalk): The Rust crate that powers it all. +* [@paddim8/kalk](https://www.npmjs.com/package/@paddim8/kalk): JavaScript bindings for `kalk`. This lets you use it in the browser thanks to WebAssembly. +* [@paddim8/kalk-component](https://www.npmjs.com/package/@paddim8/kalk-component): A web component that runs `@paddim8/kalk`, which let's you use kalk in the browser with a command line-like interface. + ## Syntax A more complete reference can be found on [the website](https://kalker.strct.net)