1
0
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:
Niels Lohmann
2021-08-19 12:03:52 +02:00
committed by GitHub
2 changed files with 1 additions and 4 deletions

View File

@ -1238,7 +1238,7 @@ endif()
### Package Managers ### 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. 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.

View File

@ -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 If you are using OS X and [Homebrew](http://brew.sh), just type
```sh ```sh
brew tap nlohmann/json
brew install nlohmann-json brew install nlohmann-json
``` ```
and you're set. If you want the bleeding edge rather than the latest release, use and you're set. If you want the bleeding edge rather than the latest release, use
```sh ```sh
brew tap nlohmann/json
brew install nlohmann-json --HEAD brew install nlohmann-json --HEAD
``` ```
@ -37,7 +35,6 @@ instead.
2. Install the package 2. Install the package
```sh ```sh
brew tap nlohmann/json
brew install nlohmann-json brew install nlohmann-json
``` ```