Category:YAMLScript: Difference between revisions

mNo edit summary
Line 20:
Run this command to install the <code>ys</code> command line YAMLScript runner/loader/compiler program.
 
curl -s https://yamlscript.org/install | PREFIX=$HOME BIN=1 bash
 
That will install <code>$HOME/.local/bin/ys</code>. If <code>$HOME/.local/bin</code> is not in your <code>PATH</code>, run:
 
export PATH=$HOME/.local/bin:$PATH
 
Test the new installation:
 
$ ys --help
ys - The YAMLScript (YS) Command Line Tool
Usage: ys [options] [file]
Options:
-r, --run Compile and evaluate a YAMLScript file (default)
-l, --load Output the evaluated YAMLScript value
-e, --eval YSEXPR Evaluate a YAMLScript expression
...
 
See https://yamlscript.org for more information.
57

edits