Skip to content

IPFS and CAR Files



npm i -g ipfs-car


mkdir CAR
echo "test" >> CAR/test.txt

npx ipfs-car \
    pack \
    $(pwd)/CAR \
    --output \
    $(pwd)/test.car

npx ipfs-car blocks $(pwd)/test.car

npx ipfs-car roots $(pwd)/test.car

npx ipfs-car ls  $(pwd)/test.car