The Gram Programming Language
Gram is a programming language for distributed systems.
Automated installation on macOS or Linux
If you are running macOS or Linux on an x86-64 CPU, you can install Gram with this command:
curl https://raw.githubusercontent.com/gramlang/gram/main/install.sh -LSfs | sh
The same command can be used again to update Gram to the latest version.
sh is considered dangerous by some since the server might be compromised. If you're concerned about this, you can download and inspect the installation script or choose one of the other installation methods.
The installation script supports the following optional environment variables:
VERSION=x.y.z(defaults to the latest version)
For example, the following will install Gram into the working directory:
curl https://raw.githubusercontent.com/gramlang/gram/main/install.sh -LSfs | PREFIX=. sh
Manual installation for macOS, Linux, or Windows
Installation with Cargo
If you have Cargo, you can install Gram as follows:
cargo install gram
You can run that command with
--force to update an existing installation.