Skip to content

Quick Start — Bash

One of the five Orvanta Quick Starts shown on an empty workspace’s Home page. Picking the Hello Orvanta (Bash) card opens this script as an unsaved draft in the script editor — nothing is deployed until you save it.

Shell and glue code, treated the same as any other language on Orvanta. Orvanta infers a Bash script’s arguments from a name="$1"-style declaration line at the top of the file:

#!/bin/bash
name="${1:-Orvanta}"
echo "Hello, $name! This ran as a Bash script on Orvanta."

The name argument has a default (Orvanta), so the auto-generated input form makes it optional — hit Run with no input and it prints “Hello, Orvanta!”. Output comes from stdout rather than a returned JSON object, which is the one thing that differs from the scripting-language Quick Starts.

  1. Open an empty workspace’s Home page and click Hello Orvanta (Bash) under Orvanta Quick Starts.
  2. Press Run (or Ctrl+Enter) to execute it as-is.
  3. Edit the script and re-run to see the change reflected immediately.
  4. Click Deploy if you want to keep it in the workspace — otherwise navigate away and the draft is discarded.