Crates.io | gram |
lib.rs | gram |
version | 0.0.4 |
source | src |
created_at | 2018-06-08 03:49:54.962 |
updated_at | 2023-06-18 12:35:43.559826 |
description | A programming language for distributed systems. |
homepage | https://github.com/gramlang/gram |
repository | https://github.com/gramlang/gram |
max_upload_size | |
id | 69143 |
size | 591,532 |
Gram is a programming language for distributed systems.
If you're running macOS or Linux (AArch64 or x86-64), 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 to the latest version.
The installation script supports the following optional environment variables:
VERSION=x.y.z
(defaults to the latest version)PREFIX=/path/to/install
(defaults to /usr/local/bin
)For example, the following will install Gram into the working directory:
curl https://raw.githubusercontent.com/gramlang/gram/main/install.sh -LSfs | PREFIX=. sh
If you prefer not to use this installation method, you can download the binary from the releases page, make it executable (e.g., with chmod
), and place it in some directory in your PATH
(e.g., /usr/local/bin
).
If you're running Windows (AArch64 or x86-64), download the latest binary from the releases page and rename it to gram
(or gram.exe
if you have file extensions visible). Create a directory called Gram
in your %PROGRAMFILES%
directory (e.g., C:\Program Files\Gram
), and place the renamed binary in there. Then, in the "Advanced" tab of the "System Properties" section of Control Panel, click on "Environment Variables..." and add the full path to the new Gram
directory to the PATH
variable under "System variables". Note that the Program Files
directory might have a different name if Windows is configured for a language other than English.
To update to an existing installation, simply replace the existing binary.
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.