Compiling Cardano Node | CoinCashew (2024)

After you finish installing GHC and Cabal successfully, you can compile Cardano Node from source code.

To compile Cardano Node:

  1. In a terminal window on the computer hosting your block-producing node, type the following command to navigate to the working directory that you created in the procedure Installing Glasgow Haskell Compiler and Cabal:

cd $HOME/git
  1. To download Cardano Node source code, type:

git clone https://github.com/IntersectMBO/cardano-node.gitcd cardano-nodegit fetch --all --recurse-submodules --tags
  1. To switch the repository that you downloaded to your local computer in step 2 to the latest tagged commit, type:

git checkout $(curl -s https://api.github.com/repos/IntersectMBO/cardano-node/releases/latest | jq -r .tag_name)

Typing a dollar sign ("$") before a command in parentheses refers to the output of the command in parentheses. For example, using a Web browser you can navigate to the above URL https://api.github.com/repos/IntersectMBO/cardano-node/releases/latest to display the data that the curl command retrieves, and then confirm the value of the tag_name attribute that the jq command selects.

  1. To adjust the project configuration to disable optimization and set the recommended compiler version, type the following command where <GHCVersionNumber> is the GHC version that you set in the procedure Installing Glasgow Haskell Compiler and Cabal:

cabal updatecabal configure -O0 -w ghc-<GHCVersionNumber>
  1. To produce executable cardano-node and cardano-cli binaries, type:

cabal build allcabal build cardano-cli

Depending on the processing power of your computer, the build process requires about 20 minutes to complete.

  1. To copy the cardano-node and cardano-cli binaries that you produced in step 7 into the /usr/local/bin directory, type:

sudo cp -p "$(./scripts/bin-path.sh cardano-node)" /usr/local/bin/cardano-nodesudo cp -p "$(./scripts/bin-path.sh cardano-cli)" /usr/local/bin/cardano-cli
  1. To confirm that the version installed on your computer matches the latest release available in the Cardano Node GitHub repository, type:

cardano-node --versioncardano-cli --version
  1. On each computer hosting a relay node for your stake pool, repeat steps 1 to 8

Last updated

Compiling Cardano Node | CoinCashew (2024)
Top Articles
KPLC Meter Connection Errors: Comprehensive Troubleshooting and Fixes 2024
Top 10 Drones with the Longest Flight Time [All over 30mins]
Ohio Houses With Land for Sale - 1,591 Properties
Methstreams Boxing Stream
Ups Dropoff Location Near Me
Mackenzie Rosman Leaked
Southside Grill Schuylkill Haven Pa
Google Sites Classroom 6X
Kent And Pelczar Obituaries
Craigslist Dog Kennels For Sale
Med First James City
What is the difference between a T-bill and a T note?
Are They Not Beautiful Wowhead
Nissan Rogue Tire Size
Check From Po Box 1111 Charlotte Nc 28201
Nesz_R Tanjiro
Kirksey's Mortuary - Birmingham - Alabama - Funeral Homes | Tribute Archive
Scout Shop Massapequa
Magic Seaweed Daytona
Hampton University Ministers Conference Registration
Hood County Buy Sell And Trade
Boise Craigslist Cars And Trucks - By Owner
Powerschool Mcvsd
Accuradio Unblocked
Watson 853 White Oval
Fuse Box Diagram Honda Accord (2013-2017)
Bend Missed Connections
Meggen Nut
Fbsm Greenville Sc
Metro By T Mobile Sign In
47 Orchid Varieties: Different Types of Orchids (With Pictures)
new haven free stuff - craigslist
Weekly Math Review Q4 3
Google Jobs Denver
Heavenly Delusion Gif
2024 Ford Bronco Sport for sale - McDonough, GA - craigslist
Nobodyhome.tv Reddit
Jewish Federation Of Greater Rochester
Bismarck Mandan Mugshots
Gravel Racing
Cnp Tx Venmo
Tunica Inmate Roster Release
Rage Of Harrogath Bugged
Rs3 Nature Spirit Quick Guide
Gon Deer Forum
Fluffy Jacket Walmart
26 Best & Fun Things to Do in Saginaw (MI)
Beds From Rent-A-Center
Michaelangelo's Monkey Junction
Buildapc Deals
Kobe Express Bayside Lakes Photos
Used Curio Cabinets For Sale Near Me
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 5980

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.