Skip to content

Latest commit

 

History

History
174 lines (121 loc) · 3.86 KB

index.md

File metadata and controls

174 lines (121 loc) · 3.86 KB

Welcome to the fend Manual!

fend is an arbitrary-precision unit-aware calculator. If you haven't already, head to https://printfn.github.io/fend to use the online version, or click here to learn how to install fend on your computer.

You can check your version of fend at any time by typing version. If you are using the command-line interface, you can also run fend --version.

Table of Contents

  1. Installation
    1. Windows
    2. macOS
    3. Arch Linux
    4. Void Linux
    5. AOSC OS
    6. NixOS / Nix package manager
    7. Pre-built binaries
    8. Install via crates.io
  2. Numbers
  3. Arithmetic
  4. Units
    1. Temperature
  5. Dice
  6. Functions and constants
  7. Number formats
  8. Strings
  9. Debug Representation
  10. Configuration
  11. Scripting
  12. Changelog

Installation

You can use fend without installing by visiting https://printfn.github.io/fend.

If you want to install the fend command-line application, you have the following options:

Windows

On Windows, you can install fend with a standard Windows installer package (MSI), which you can download here.

Alternatively you can install fend via winget:

winget install fend

Or using Chocolatey:

choco install fend

macOS

fend is available on Homebrew:

brew install fend

fend can also be installed via MacPorts:

sudo port install fend

Arch Linux

fend is available on the AUR:

yay -Syu aur/fend-bin

You can also build it from source with:

yay -Syu aur/fend

Void Linux

fend is available in the official Void Linux package repository:

xbps-install fend

AOSC OS

fend is available in the official AOSC OS package repository:

oma install fend

PKGX

fend is available on pkgx:

pkgx fend

NixOS / Nix package manager

fend is available in nixpkgs:

nix-env -iA nixpkgs.fend

Or using nix-shell:

nix-shell -p fend

Pre-built binaries

You can download the latest stable binaries for Windows, macOS and Linux here.

Binaries are available for:

  • Linux (aarch64)
  • Linux (x86-64)
  • Linux (armv7-gnueabihf)
  • macOS (64-bit Intel)
  • macOS (Apple Silicon)
  • Windows (64-bit)

Install via crates.io

If you have an up-to-date installation of Rust, you can install fend like so:

rustup update
cargo install fend

If you already have an older version of fend installed, this will automatically update to the latest version.

Once you have installed fend, you can launch an interactive REPL by typing fend in your terminal:

$ fend
> 1 ft to cm
30.48 cm
>
chapters/expressions.md

Configuration

chapters/configuration.md

Scripting

chapters/scripting.md
../CHANGELOG.md