# Contribute to the Railway CLI ## Prerequisites - [Rust](https://www.rust-lang.org/tools/install) - [CMake](https://cmake.org/install/) OR - [Nix](https://nixos.org/download.html) ## Setting Up with Nix Use `nix-shell` to enter an environment with all necessary dependencies. ## Running and Building - Run the binary with: `cargo run -- ` - Build the binary with: `cargo build --release` ## Generating the Schema Install `graphql-client` with cargo: ```sh cargo install graphql_client_cli ``` Then, run the following command to generate the schema: ```sh graphql-client introspect-schema https://backboard.railway.com/graphql/v2 > src/gql/schema.json ```