diff --git a/docs/install-and-setup.md b/docs/install-and-setup.md index b411bb73c..77c8f7808 100644 --- a/docs/install-and-setup.md +++ b/docs/install-and-setup.md @@ -15,7 +15,7 @@ options below. ### Linux -#### Build using `cargo` +#### From Source First make sure that you have the `libssl-dev`, `openssl`, `pkg-config`, and `build-essential` packages installed by running something like this: @@ -69,25 +69,6 @@ brew install jj ### Mac -#### Homebrew - -If you use Homebrew, you can run: - -```shell -# Installs the latest release -brew install jj -``` - -#### MacPorts - -You can also install `jj` via [the MacPorts `jujutsu` -port](https://ports.macports.org/port/jujutsu/): - -```shell -# Installs the latest release -sudo port install jujutsu -``` - #### From Source You may need to run some or all of these: @@ -113,6 +94,26 @@ or: cargo install --locked --bin jj jj-cli ``` + +#### Homebrew + +If you use Homebrew, you can run: + +```shell +# Installs the latest release +brew install jj +``` + +#### MacPorts + +You can also install `jj` via [the MacPorts `jujutsu` +port](https://ports.macports.org/port/jujutsu/): + +```shell +# Installs the latest release +sudo port install jujutsu +``` + ### Windows Run either: