Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview
How to install rswier/c4. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

rswier/c4 Installation Guide

How to install rswier/c4. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for rswier/c4. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i rswier/c4
or

Install via npx

npx @hexmos/ipm i rswier/c4

Prerequisites

gcc

build_tool

Version: 9.4.0-1ubuntu3.1~20.04.1-Ubuntu-18.04.1-amd64

make

system_tool

Version: 4.3.1

clang

build_tool

Version: 12.0.1

cmake

build_tool

Version: 3.24.5

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Binary Installation (Compilation)

gcc -o c4 c4.c

./c4 hello.c

Binary Installation (Compilation with -s flag)

gcc -o c4 c4.c

./c4 -s hello.c

Binary Installation (Compilation with multiple files)

gcc -o c4 c4.c

./c4 c4.c hello.c

Binary Installation (Compilation with multiple files)

gcc -o c4 c4.c

./c4 c4.c c4.c hello.c

Post Installation Steps

  • Start the server using `./c4`.
  • Run database migrations using `./c4 -s hello.c`.