Anoma Developer Documentation
  • Overview
  • Build
    • Getting Started
    • Your First Anoma App
      • Define a Resource
      • Write a Transaction Function
      • Write a Projection Function
      • Run your App
    • Anoma App Examples
  • LEARN
    • Overview
    • State Model
      • Model Comparison
    • Resource Machine
      • Information Flow Control
    • Resources
      • State
      • Logic
      • Kind
      • Lifecycle
    • Transactions
      • Delta
      • Actions
      • Balanced Transactions
      • Intents
    • Applications
      • Backend
      • Interface
    • Services
      • Indexing
      • Solving
Powered by GitBook
On this page
  • Installing Juvix
  • Juvix Documentation
  1. Build

Getting Started

Install Juvix in less than 5 minutes.

PreviousOverviewNextYour First Anoma App

Last updated 27 days ago

Juvix is Anoma's language for intent-centric and declarative decentralized applications.

Get started by installing Juvix in less than 5 minutes.

Installing Juvix

Please select from the options below to install the Juvix compiler on your system. We currently support

  • Linux x86_64

  • macOS x86_64 and aarch64 (M1/M2)

All example applications are currently compliant with the anoma-apps .

1

Prerequisites

The Juvix compiler requires to be available on your system PATH in order to build native binaries.

If you use the , you can install LLVM/clang via

brew update
brew install llvm

Alternatively, you can install the

xcode-select install

On Ubuntu/Debian, install clang via

sudo apt-get update
sudo apt install clang

On Arch Linux, install clang via

sudo pacman -Syu
sudo pacman -S clang
2

Juvix Compiler

Next, you need to install the Juvix compiler.

If you use the you can use our tap:

brew update
brew tap anoma/juvix
brew install --overwrite juvix-nightly

Alternatively, you can download and unzip the compiler executable linked below

and move it to a directory on your shell's PATH (e.g., /usr/local/bin).

Download and unzip the compiler executable linked below

and move it to a directory on your shell's PATH (e.g., /usr/local/bin).

3

IDE Setup

Lastly, you can set up the IDE of your choice.

First install visual studio code from the .

In the extension tab search for juvix and install the extension that features the Tara logo.

See the for usage information.

Clone the

git clone https://github.com/anoma/juvix-mode.git

And add the following lines to your Emacs configuration file:

(push "/path/to/juvix-mode/" load-path)
(require 'juvix-mode)

See the for usage information.

We will continuously add support for more platforms and IDEs .

Juvix Documentation

The Juvix documentation is available at .

v0.4.1 release
the LLVM/clang compiler
Homebrew package manager
Xcode command line tools
Homebrew package manager,
macOS x86_64
macOS aarch64 (M1/M2)
Linux x86_64
Microsoft website
vscode-juvix repository
juvix-mode repository
juvix-mode repository
https://docs.juvix.org