Once the download is complete, a folder named fabric-samples will appear in your current directory. To use the Fabric tools from any location in your terminal, you need to add the bin folder to your PATH. Navigate to the fabric-samples directory.
Add the path to your shell profile (.bashrc or .zshrc): export PATH=$PWD/bin:$PATH Step 3: Verify the Installation download hyperledger fabric
The best way to confirm your download is fully functional is to start the "Test Network" included in the samples. Navigate to: cd fabric-samples/test-network Bring up the network: ./network.sh up Once the download is complete, a folder named
💡 If you want to download a specific version (e.g., Fabric v2.5.4), you can pass the version numbers as arguments: curl -sSL https://bit.ly | bash -s -- 2.5.4 1.5.7 Step 2: Set Your Environment Path Add the path to your shell profile (
Troubleshooting (like Docker permission issues) Writing your first Smart Contract (Chaincode) Setting up a Certificate Authority (CA) for production
Which part of your are you tackling next?
Before you begin, ensure your environment (Linux or macOS is recommended) has the following installed: To clone the necessary repositories. Docker Desktop: Version 17.06.2-ce or greater. Docker Compose: Version 1.14.0 or greater. Go Programming Language: Version 1.20.x or higher.