This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Add IPFS_PATH to CLI help #1213
Closed
Description
It's possible to init a repository at a different location (other than the default ~/.jsipfs
) with setting the IPFS_PATH
environment variable. This isn't clear from the CLI help. go-ipfs
has this information:
ipfs uses a repository in the local file system. By default, the repo is
located at ~/.ipfs. To change the repo location, set the $IPFS_PATH
environment variable:
export IPFS_PATH=/path/to/ipfsrepo
Add this to the js-ipfs CLI as well.