-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Eldad Danladi edited this page Jul 17, 2022
·
19 revisions
- Cppm has only been tested on Clang, Clang++, GCC, and G++ so one of these compilers will be needed for c/c++.
- clang-tidy, clangd, and clang-format will be needed if you wish to use cppm's integrated linting and formatting
- Recommended tools: Git, Visual Studio Code
If you're on Linux, some of these tools may already be installed. All requirements must be on your PATH (See Below).
There are three ways to get cppm:
- Download the latest build for Windows and Ubuntu.
- Install with Cargo
cargo install cppm - Get with our custom installer. (Not recommended, is being rewritten at the moment.)
If you installed cppm from GH, you must place it in a directory that is on your PATH (See below)
How to add directories to the path on windows. How to add directories to the path on Linux.
Cppm needs to be configured on fresh install, after that, unless you install new tools, you don't need to worry about this step again.
Run cppm --config and cppm will configure itself. You can begin using cppm after this. There are some things that may not work with just this step and require you to do a few more things, refer to the usage page to learn about that.
$ cppm --config
Default editor: nvim
Clang is installed.
Clang++ is installed.
Location: /some/path/.cppm/defaults.toml