You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+54-55Lines changed: 54 additions & 55 deletions
Original file line number
Diff line number
Diff line change
@@ -30,69 +30,68 @@ Setting up a **cross-platform** environment for building and testing C++/C proje
30
30
31
31
### From Terminal
32
32
33
-
You should download the executable file or the js file (if Nodejs installed), and run it with the available options.
33
+
#### With npm and Nodejs
34
34
35
-
Tip: You can automate downloading using `wget`, `curl`, or other similar tools.
36
-
37
-
#### Executable
38
-
39
-
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.25.1), and run it with the available options.
40
-
41
-
An example that installs llvm, cmake, ninja, ccache, and vcpkg:
NOTE: In the `compiler` entry, you can specify the version after `-` like `llvm-11.0.0`. For the tools, you can pass a specific version instead of `true` that chooses the default version
70
58
71
59
NOTE: On Unix systems, when `setup-cpp` is used locally or in other CI services like GitLab, the environment variables are added to `~/.cpprc`. You should run `source ~/.cpprc` to immediately activate the environment variables. This file is automatically sourced in the next shell restart from `~/.bashrc` or `~/.profile` if `SOURCE_CPPRC` is not set to `0`. To deactivate `.cpprc` in the next shell restart, rename/remove `~/.cpprc`.
72
60
73
-
NOTE: On Unix systems, you will not need `sudo`if you are already a root user (e.g., in a GitLab runner or Docker).
61
+
NOTE: On Unix systems, if you are already a root user (e.g., in a GitLab runner or Docker), you will not need to use `sudo`.
74
62
75
-
#### With Nodejs
63
+
#### With executable
76
64
77
-
Download the `setup_cpp.js` file form [here](https://github.com/aminya/setup-cpp/releases/download/v0.25.1/setup_cpp.js), and run it with the available options.
65
+
You can download a self-contained executable file and run it with the available options.
78
66
79
-
On Windows:
67
+
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.25.1), and run it with the available options.
68
+
69
+
Tip: You can automate downloading using `wget`, `curl`, or other similar tools.
80
70
81
-
Open the shell as admin, download via `curl`, then install
71
+
An example that installs llvm, cmake, ninja, ccache, and vcpkg:
0 commit comments