install-and-setup.md: Make headings more consistent

This commit is contained in:
Ilya Grigoriev 2023-10-29 22:07:29 -07:00
parent 1788b5014e
commit 2cd262def3

View file

@ -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: