How to Install and Run LUC

Follow this guide to install LUC and execute your first .luc file.

Step 1: Download LUC

1. Download the current version of LUC for your operating System by click on this.

Step 2: Install LUC

Extract the downloaded files to a directory of your choice.

Ensure that lucsPipe (the LUC execution pipeline) is correctly set up.

Step 3: Add LUC to System Path

To run LUC from any location in the terminal, add the LUC directory to your system’s environment variables:

  • Windows: Add the LUC installation folder to the system PATH variable.
  • Linux: Open the terminal and add the following line to ~/.bashrc or ~/.zshrc
				
					export PATH=$PATH:/path/to/luc

				
			

Then apply changes with:

				
					source ~/.bashrc  # or source ~/.zshrc

				
			

Step 4: Write and Save a LUC File

  • Create a new .luc file with any text editor or IDE.
  • Write your LUC code and save the file inside the lucsPipe directory.

Step 5: Run a LUC File

  • Open a terminal or command prompt.
  • Navigate to the lucsPipe directory where your .luc file is saved.
  • Execute the file with the following command
				
					dontet run name_of_file.luc

				
			

(Replace name_of_file.luc with the actual name of your file.)

Step 6: Verify Installation

If everything is set up correctly, your LUC script should execute without errors. If you encounter issues, check your installation path and ensure all dependencies are correctly configured.

Now you’re ready to code in LUC!

Windows

Download LUC for Windows now – the powerful solution for maximum productivity and seamless performance!

Linux

Get LUC for Linux today – optimized for performance, efficiency, and a seamless experience!
Github

Looking for the


Github Repository?

The LUC compiler and tools are all written in LUC, with most development taking place on GitHub. Be sure to watch the repository to get updates on LUC’s development, or star it to show your support.