Install Ccode as a command using steps below.
# run
Ccode <file.cc> <args to pass>
It makes a exe file in the /usr/bin folder that runs as "Ccode".
It adds the bin folder to path and executes the Ccode command from the shell script.
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
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
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.
- make
- three
- Bash
- node and npm