Skip to content

Latest commit

 

History

History
50 lines (45 loc) · 1.08 KB

README.md

File metadata and controls

50 lines (45 loc) · 1.08 KB

Ccode-Command

Install Ccode as a command using steps below.

running

# run
Ccode <file.cc> <args to pass>

How it works (Debian/Ubuntu)

It makes a exe file in the /usr/bin folder that runs as "Ccode".

How it works (MacOS)

It adds the bin folder to path and executes the Ccode command from the shell script.

Linux (ubuntu/debian) or Windows (ubuntu/debian WSL app)

cd ~
git clone https://github.com/Ccode-lang/Ccode.git
cd Ccode
make all
cd ..
git clone https://github.com/Ccode-lang/Ccode-Command.git
cd Ccode-Command
make

# uninstallation (run in Ccode-Command folder)
make uninstall

MacOS

cd ~
git clone https://github.com/Ccode-lang/Ccode.git
cd Ccode
make all
cd ..
git clone https://github.com/Ccode-lang/Ccode-Command.git
cd Ccode-Command
nano Makefile
#change user-here to your username
sudo make macos

Uninstall mac

Run sudo nano /etc/paths and delete line /Users/< your username here >/Ccode-Command/bin, restart your terminal then Ccode will say that Ccode command does exist.

Deps

  1. make
  2. three
  3. Bash
  4. node and npm