Category:YAMLScript: Difference between revisions
→Installing YAMLScript
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 |
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:
-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.
|