| kind | tutorial |
|---|---|
| order | 1 |
| summary | install blue, evaluate one expression and run a first file, in about a minute |
You need Nix with flakes turned on. Install blue into your profile:
$ nix profile install github:pleme-io/blueTo try blue without installing it, put nix run github:pleme-io/blue -- in
front of each command below.
Ask blue for a value:
$ blue eval '1 + 2'
3Write a file called hello.b:
write_stdout(unlines(["Olá, mundo!"]))
Run it:
$ blue hello.b
Olá, mundo!That is a whole blue program. The next tutorial, a first script, gives it arguments.