mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
* fix: installation without sudo I think it's good practice that users don't need to run `sudo` to install something just to try it out. With this change, the local bin directory is tried first, which usually is also in the `PATH`. This way the installation script can be run without `sudo` and should still work. * fix: try local path last and support spaces in $HOME Try the `$HOME/.local/bin` path last, so that the script is backwards compatible. Also make sure that it works even if there are spaces in the directory set by `$HOME`. |
||
|---|---|---|
| .. | ||
| install.sh | ||
| LICENSE | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| README.md | ||
ipfs commandline tool
This is the ipfs commandline tool. It contains a full ipfs node.
Install
To install it, move the binary somewhere in your $PATH:
sudo mv ipfs /usr/local/bin/ipfs
Or run sudo ./install.sh which does this for you.
Usage
First, you must initialize your local ipfs node:
ipfs init
This will give you directions to get started with ipfs. You can always get help with:
ipfs --help