- Node.js 18.19.0
You can install Fabric by running:
npm i -g FabricLabs/fabric#feature/cleanup
This will make the fabric
binary available on your system, after which you should run:
fabric setup
Now, you'll have a newly-generated Fabric address and you can run:
fabric
By default, the Fabric CLI connects to playnet
for an initial set of peers. You can add new peers manually by running /connect <address>
where <address
> is the peer's public hostname and port.
If you don't have Node.js, or an incorrect version, we recommend installing NVM. Once complete, you can install and set the default node version:
nvm install 18.19.0
nvm alias default 18.19.0 # optional