Getting started
Installation
Install c3pm for the C3 programming language and choose a Nix backend.
c3pm currently supports Linux x86_64. The release binary runs without an existing C3 compiler or compatible system libc; building projects uses a separate Nix backend.
Install the latest release
curl --fail --location https://c3pm.dev/install.sh | sh -
The installer verifies the release and puts c3pm in ~/.local/bin by default. If that directory is not on your PATH, open a new terminal after installation or add it to your shell configuration.
Check the installation:
c3pm --version
c3pm toolchain nix status
Choose a Nix backend
The installer reuses an existing Nix installation or sets one up. You can also ask c3pm to manage nix-portable:
c3pm toolchain nix use portable
See Installer options for custom locations, unattended installation, and choosing a Nix mode during installation.
Create your first project
Follow the quick start to create a windowed hello world. Its c3c init step requires a C3 compiler on your PATH. You can also start from the SQLite example, which already includes a project file.