Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

vkeshav300/cpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

412 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


CPM is a simple, yet useful tool for managing your C and C++ projects.




Quick Navigation



Examples

Operating System Compatability

CPM currently is compatable with the following operating systems:

  • All unix-based operating systems

Building / Installing

Unix-Based Operating Systems (build it yourself)

For installation in release mode, type the following commands in the project root directory:

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
sudo make install

note that this will require the installation of cmake, make, and any other dependencies the project has.

AUR / Arch Linux (package installation)

See aur.archlinux.org/packages/cpm-git for package details. This is maintained by @OxidizedToast. Installation command:

paru -S cpm-git

May not update by default via paru -Syu. To check for updates more accurately please run:

paru -Sy cpm-git

Updating

To check for updates for CPM, run:

cpm scan

CPM automatically scans for updates occasionally when a command is run. To set the frequency of automatic update scanning run:

cpm scan -f=[n]

where n is after how many commands you want to run an update scan. To disable automatic update scanning run:

cpm scan --off

or to enable automatic update scanning run:

cpm scan --on

Scanning for updates will cause lag, which is why CPM doesn't automatically scan for updates every time it is used.

Issues

All bug reports, feature requests and other issues are monitored at the GitHub issue tracker.

Text Coloring

The code uses 256-Color Mode ANSI Escape Codes to color text. Not all terminals support coloring text. To check if your terminal does, run:

echo -e "\x1b[38;5;196mTest\x1b[0m"

This should print the text "Test" in a red-ish color. Most modern terminals support coloring using ANSI Escape Codes.

If your terminal does NOT support 256-Color Mode ANSI Escape Codes, run the following command to disable text coloring:

cpm config set text_coloring off

About

A useful tool for managing c/c++ projects.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors