Advertisement
sytchenko

IPFS. Set new repository path for current user

Feb 24th, 2025 (edited)
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # initialization
  2. env IPFS_PATH=/media/CustomPath/ipfs ipfs init
  3.  
  4. # Add to ~/.bashrc
  5. export IPFS_PATH=/media/CustomPath/ipfs
  6.  
  7. # Apply
  8. source ~/.bashrc
  9.  
  10. # Check new repository
  11. ipfs id
  12.  
  13. #Example:
  14. env IPFS_PATH=/media/share/ipfs /usr/local/bin/ipfs init
Tags: ipfs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement