Skip to content

Commit 876cb1b

Browse files
authored
Some editing
1 parent a3b3061 commit 876cb1b

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Diff for: doc/getting-started/building-the-node-using-nix.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Building Cardano Node with nix
1+
# Building Cardano node with Nix
22

33
The [Nix Package Manager][nix] can be installed on most Linux distributions by downloading and
44
running the installation script:
@@ -9,7 +9,7 @@ chmod +x install-nix.sh
99
```
1010
and following the directions.
1111

12-
Then the [Flake][flake] feature of nix (and IFD support) should be enabled:
12+
Then the [Flake][flake] feature of Nix (and IFD support) should be enabled:
1313
```
1414
sudo mkdir -p /etc/nix
1515
cat <<EOF | sudo tee /etc/nix/nix.conf
@@ -18,7 +18,7 @@ allow-import-from-derivation = true
1818
EOF
1919
```
2020

21-
#### IOHK Binary Cache
21+
#### IOHK binary cache
2222

2323
To improve build speed, it is possible to set up a binary cache maintained by IOHK (**this is
2424
optional**):
@@ -30,22 +30,24 @@ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
3030
EOF
3131
```
3232

33-
### Building and running with nix
33+
### Building and running with Nix
34+
35+
Once Nix is installed, log out and log back in.
36+
You can then build the full node package using mainnet configuration as follows:
3437

35-
Once Nix is installed, log out and then log back in.
36-
After that you can build the full node package with Mainnet configuration as follows:
3738
```
3839
git clone https://github.com/input-output-hk/cardano-node
3940
cd cardano-node
4041
nix build .#mainnet/node -o mainnet-node-local
4142
./mainnet-node-local/bin/cardano-node-mainnet
4243
```
43-
or run in in one go:
44+
or run it in one go:
4445
```
4546
nix run github:input-output-hk/cardano-node#mainnet/node
4647
```
4748

48-
If you only want to build just the cardano-node executable, without the configuration bundle:
49+
To build just the cardano-node executable without the configuration bundle:
50+
4951
```
5052
nix build .#cardano-node -o cardano-node-build
5153
```
@@ -54,7 +56,7 @@ To build the cardano-cli executable, follow the steps below:
5456
nix build .#cardano-cli -o cardano-cli-build
5557
./cardano-cli-build/bin/cardano-cli
5658
```
57-
Or run directly, eg.:
59+
Or run directly, for example:
5860
```
5961
nix run .#cardano-cli -- version
6062
```
@@ -65,7 +67,7 @@ A shell environment with pre-compiled, cached, cabal dependencies is available w
6567
```
6668
nix develop
6769
```
68-
An environment with dependencies compiled with profiling enabled is available with:
70+
An environment with dependencies compiled with enabled profiling is available with:
6971
```
7072
nix develop .#profiled
7173
```

0 commit comments

Comments
 (0)