Unverified Commit 44ffaa05 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #2943 from amirmasoudabdol/patch-1

Updating the Homebrew Command
parents 273d9112 14af5d4a
...@@ -1238,7 +1238,7 @@ endif() ...@@ -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.
......
...@@ -11,14 +11,12 @@ Throughout this page, we will describe how to compile the example file `example. ...@@ -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. ...@@ -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
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment