Skip to content

Ccode-archives/Ccode-Command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Install Ccode as a command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published