Skip to main content
ThunderLang

Install

Install ThunderLang™.

Download and install the ThunderLang™ programming language and compiler (also called Thunder™): the open-source Thunder compiler and the thunder command. No account and no AI key.

  1. 1Have Node.js 18 or newer

    Check with node --version. If you need it, get it from nodejs.org.

  2. 2Install the thunder command

    npm install -g @skillstech/thunderlang

    Installs ThunderLang™ version 0.5.2, the current release. Package: npmjs.com/package/@skillstech/thunderlang. Source: github.com/SkillsTechTalk/thunderlang (Apache 2.0).

  3. 3Check that it works

    thunder help

    You should see the list of commands. From 0.5.3, thunder --version prints the version too.

  4. 4Try it

    • thunder read checkout.pyRead a file in Thunder: its rules, checks, and what still needs a personAvailable
    • thunder human RefundReview.thunder-humanRun a rule's examples and see each answerAvailable
    • thunder test Rules.thunder --target pythonRun the examples against the generated Python, for realAvailable
    • thunder gen Rules.thunder --target typescriptGenerate the rule in TypeScript, Python, C#, or JavaAvailable
    • thunder --versionCheck which version you haveComing in 0.5.3
    • thunder text RefundApproval.thunder-plainRun a Thunder Text ruleComing in 0.5.3
    • thunder repo psf/requestsThunder a whole GitHub repository, read-onlyComing in 0.5.3

Other ways to use Thunder

  • In your browser

    No install: read code, try a rule, or open the Playground.

    Try it →
  • OpenThunder

    The IDE for Thunder, with the compiler built in.

    Open OpenThunder ↗
  • VS Code

    Syntax colors, problems as you type, and hover help.

    Editor setup →
  • From source

    Clone the repository and run node compiler/src/cli.mjs, including unreleased commands.

    GitHub ↗

Next: Getting started or the 10-minute tutorial.