Skip to content

Commit b947aa8

Browse files
committed
Install
1 parent 4de78e4 commit b947aa8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,30 @@ project.
1515

1616
## <a id="contents"></a> [](#contents) [Contents](#contents)
1717

18+
- [Install](#install)
1819
- [Synopsis](#synopsis)
1920
- [Project structure](#project-structure)
2021

22+
## <a id="install"></a> [](#contents) [Install](#install)
23+
24+
Clone the `cppsm-cli` somewhere:
25+
26+
```bash
27+
git clone https://github.com/cppsm/cppsm-cli.git
28+
```
29+
30+
Add to your `.bash_profile`:
31+
32+
```bash
33+
CPPSM="path to cppsm-cli directory"
34+
export PATH="$CPPSM/bin:$PATH"
35+
. "$CPPSM/bash_completion"
36+
```
37+
38+
For the optional auto completion of git urls you must have both
39+
[`curl`](https://curl.haxx.se/) and [`jq`](https://stedolan.github.io/jq/)
40+
commands in path.
41+
2142
## <a id="synopsis"></a> [](#contents) [Synopsis](#synopsis)
2243

2344
Create a new project:

0 commit comments

Comments
 (0)