Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rainlanguage/rain.cli

Main binary for native Rain tooling.
https://github.com/rainlanguage/rain.cli

Last synced: 17 days ago
JSON representation

Main binary for native Rain tooling.

Awesome Lists containing this project

README

        

# rain.cli

The Rain CLI.

Aggregates and compiles all the other Rain CLI tools into a single tool.

Doesn't provide any of its own functionality.

## Installation

### Nix flakes

If you have https://nixos.org/ installed and nix flakes enabled https://nixos.wiki/wiki/Flakes
then you can run the Rain CLI straight from github.

```
nix shell github:rainprotocol/rain.cli -c rain
```

This will track the default branch (main) and can be aliased e.g.

```
alias rain="nix shell github:rainprotocol/rain.cli -c rain"
```

If you add this alias to your ~/.bashrc or ~/.zshrc file, etc. then you'll always
have fresh `rain`.

You can also pin it to any git revision like

```
nix shell github:rainprotocol/rain.cli/ -c rain
```

Alternatively you can install it to your profile and nix can manage it like any
other binary.

```
nix profile install github:rainprotocol/rain.cli
```