mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
Merge pull request #2943 from amirmasoudabdol/patch-1
Updating the Homebrew Command
This commit is contained in:
@ -1238,7 +1238,7 @@ endif()
|
||||
|
||||
### Package Managers
|
||||
|
||||
:beer: If you are using OS X and [Homebrew](https://brew.sh), just type `brew tap nlohmann/json` and `brew install nlohmann-json` and you're set. If you want the bleeding edge rather than the latest release, use `brew install nlohmann-json --HEAD`.
|
||||
:beer: If you are using OS X and [Homebrew](https://brew.sh), just type `brew install nlohmann-json` and you're set. If you want the bleeding edge rather than the latest release, use `brew install nlohmann-json --HEAD`.
|
||||
|
||||
If you are using the [Meson Build System](https://mesonbuild.com), add this source tree as a [meson subproject](https://mesonbuild.com/Subprojects.html#using-a-subproject). You may also use the `include.zip` published in this project's [Releases](https://github.com/nlohmann/json/releases) to reduce the size of the vendored source tree. Alternatively, you can get a wrap file by downloading it from [Meson WrapDB](https://wrapdb.mesonbuild.com/nlohmann_json), or simply use `meson wrap install nlohmann_json`. Please see the meson project for any issues regarding the packaging.
|
||||
|
||||
|
@ -11,14 +11,12 @@ Throughout this page, we will describe how to compile the example file `example.
|
||||
If you are using OS X and [Homebrew](http://brew.sh), just type
|
||||
|
||||
```sh
|
||||
brew tap nlohmann/json
|
||||
brew install nlohmann-json
|
||||
```
|
||||
|
||||
and you're set. If you want the bleeding edge rather than the latest release, use
|
||||
|
||||
```sh
|
||||
brew tap nlohmann/json
|
||||
brew install nlohmann-json --HEAD
|
||||
```
|
||||
|
||||
@ -37,7 +35,6 @@ instead.
|
||||
2. Install the package
|
||||
|
||||
```sh
|
||||
brew tap nlohmann/json
|
||||
brew install nlohmann-json
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user