You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install/command-line.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Kubo
3
3
description: Using IPFS Kubo through the command-line allows you to do everything that IPFS Desktop can do, but at a more granular level, since you can specify which commands to run. Learn how to install it here.
4
-
current-ipfs-version: v0.20.0
4
+
current-ipfs-version: v0.21.0
5
5
---
6
6
7
7
# Install IPFS Kubo
@@ -31,7 +31,7 @@ Kubo runs on most Windows, MacOS, Linux, FreeBSD and OpenBSD systems that meet t
31
31
32
32
Note the following:
33
33
- The amount of disk space your IPFS installation uses depends on how much data you're sharing. A base installation uses around 12MB of disk space.
34
-
- You can enable automatic garbage collection via [--enable-gc](../reference/kubo/cli.md#ipfs-daemon) and adjust using [default maximum disk storage](https://github.com/ipfs/kubo/blob/v0.20.0/docs/config.md#datastorestoragemax) for data retrieved from other peers.
34
+
- You can enable automatic garbage collection via [--enable-gc](../reference/kubo/cli.md#ipfs-daemon) and adjust using [default maximum disk storage](https://github.com/ipfs/kubo/blob/v0.21.0/docs/config.md#datastorestoragemax) for data retrieved from other peers.
35
35
36
36
### Kubo on resource-constrained systems
37
37
@@ -72,27 +72,27 @@ For installation instructions for your operating system, select the appropriate
72
72
1. Download the Windows binary from [`dist.ipfs.tech`](https://dist.ipfs.tech/#kubo).
> Ensure that you download and install the appropriate binary, as the binary for an Intel-based system won't work on a system with Apple Silicon, and vice-versa.
167
167
168
-
-_If you are using hardware with Apple Silicon, download the `darwin-arm64` binary._ For example, to download the IPFS binary for `Kubo v0.20.0` for an Apple-based system, run the following command:
168
+
-_If you are using hardware with Apple Silicon, download the `darwin-arm64` binary._ For example, to download the IPFS binary for `Kubo v0.21.0` for an Apple-based system, run the following command:
- _If you are using hardware with an Intel Processor, download the `darwin-amd64` binary._ For example, to download the IPFS binary for`Kubo v0.20.0`for an Intel-based system, run the following command:
174
+
- _If you are using hardware with an Intel Processor, download the `darwin-amd64` binary._ For example, to download the IPFS binary for`Kubo v0.21.0`for an Intel-based system, run the following command:
@@ -359,7 +359,7 @@ For installation instructions for your operating system, select the appropriate
359
359
```bash
360
360
ipfs --version
361
361
362
-
> ipfs version 0.20.0
362
+
> ipfs version 0.21.0
363
363
```
364
364
365
365
:::
@@ -371,7 +371,7 @@ For installation instructions for your operating system, select the appropriate
371
371
372
372
## Build Kubo from source
373
373
374
-
For the current instructions on how to manually download, compile and build Kubo from source, see the [Build from Source](https://github.com/ipfs/kubo/blob/v0.20.0/README.md#build-from-source) section in the Kubo repository.
374
+
For the current instructions on how to manually download, compile and build Kubo from source, see the [Build from Source](https://github.com/ipfs/kubo/blob/v0.21.0/README.md#build-from-source) section in the Kubo repository.
375
375
376
376
## Determining which node to use with the command line
Copy file name to clipboardExpand all lines: docs/reference/kubo/cli.md
+38-26Lines changed: 38 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ description: API documentation for the Kubo command-line executable.
5
5
6
6
# Kubo command-line
7
7
8
-
::: tip Generated on 2023-05-09 12:45:57, from kubo 0.20.0
9
-
This document was autogenerated from CLI help text in [kubo 0.20.0](https://github.com/ipfs/kubo/releases/tag/v0.20.0)
8
+
::: tip Generated on 2023-07-03 11:11:30, from kubo 0.21.0
9
+
This document was autogenerated from CLI help text in [kubo 0.21.0](https://github.com/ipfs/kubo/releases/tag/v0.21.0)
10
10
For issues and support, check out the [generate-cli-docs.sh](https://github.com/ipfs/ipfs-docs/blob/main/docs/reference/kubo/generate-cli-docs.sh) script on GitHub.
11
11
:::
12
12
@@ -1047,12 +1047,19 @@ DESCRIPTION
1047
1047
'server':
1048
1048
Disables local host discovery, recommended when
1049
1049
running IPFS on machines with public IPv4 addresses.
1050
-
'local-discovery':
1051
-
Sets default values to fields affected by the server
1052
-
profile, enables discovery in local networks.
1050
+
'test':
1051
+
Reduces external interference of IPFS daemon, this
1052
+
is useful when using the daemon in test environments.
1053
1053
'default-networking':
1054
1054
Restores default network settings.
1055
1055
Inverse profile of the test profile.
1056
+
'default-datastore':
1057
+
Configures the node to use the default datastore (flatfs).
1058
+
1059
+
Read the "flatfs" profile description for more information on this datastore.
1060
+
1061
+
This profile may only be applied when first initializing the node.
1062
+
1056
1063
'badgerds':
1057
1064
Configures the node to use the experimental badger datastore.
1058
1065
@@ -1071,21 +1078,9 @@ DESCRIPTION
1071
1078
which is no longer supported by the upstream team.
1072
1079
1073
1080
This profile may only be applied when first initializing the node.
1074
-
'lowpower':
1075
-
Reduces daemon overhead on the system. May affect node
1076
-
functionality - performance of content discovery and data
1077
-
fetching may be degraded.
1078
-
1079
-
'test':
1080
-
Reduces external interference of IPFS daemon, this
1081
-
is useful when using the daemon in test environments.
1082
-
'default-datastore':
1083
-
Configures the node to use the default datastore (flatfs).
1084
-
1085
-
Read the "flatfs" profile description for more information on this datastore.
1086
-
1087
-
This profile may only be applied when first initializing the node.
1088
-
1081
+
'local-discovery':
1082
+
Sets default values to fields affected by the server
1083
+
profile, enables discovery in local networks.
1089
1084
'flatfs':
1090
1085
Configures the node to use the flatfs datastore.
1091
1086
@@ -1102,6 +1097,11 @@ DESCRIPTION
1102
1097
1103
1098
This profile may only be applied when first initializing the node.
1104
1099
1100
+
'lowpower':
1101
+
Reduces daemon overhead on the system. May affect node
1102
+
functionality - performance of content discovery and data
1103
+
fetching may be degraded.
1104
+
1105
1105
'randomports':
1106
1106
Use a random port number for swarm.
1107
1107
@@ -1323,7 +1323,7 @@ SUBCOMMANDS
1323
1323
ipfs dag import <path>... - Import the contents of .car files
1324
1324
ipfs dag put <object data>... - Add a DAG node to IPFS.
1325
1325
ipfs dag resolve <ref> - Resolve IPLD block.
1326
-
ipfs dag stat <root> - Gets stats for a DAG.
1326
+
ipfs dag stat <root>... - Gets stats for a DAG.
1327
1327
1328
1328
For more information about each command, use:
1329
1329
'ipfs dag <subcmd> --help'
@@ -1494,14 +1494,14 @@ DESCRIPTION
1494
1494
1495
1495
```
1496
1496
USAGE
1497
-
ipfs dag stat <root> - Gets stats for a DAG.
1497
+
ipfs dag stat <root>... - Gets stats for a DAG.
1498
1498
1499
1499
SYNOPSIS
1500
-
ipfs dag stat [--progress=false] [--] <root>
1500
+
ipfs dag stat [--progress=false] [--] <root>...
1501
1501
1502
1502
ARGUMENTS
1503
1503
1504
-
<root> - CID of a DAG root to get statistics for
1504
+
<root>... - CID of a DAG root to get statistics for
1505
1505
1506
1506
OPTIONS
1507
1507
@@ -1668,13 +1668,19 @@ USAGE
1668
1668
system.
1669
1669
1670
1670
SYNOPSIS
1671
-
ipfs dht put [--] <key> <value-file>
1671
+
ipfs dht put [--allow-offline] [--] <key> <value-file>
1672
1672
1673
1673
ARGUMENTS
1674
1674
1675
1675
<key> - The key to store the value at.
1676
1676
<value-file> - A path to a file containing the value to store.
1677
1677
1678
+
OPTIONS
1679
+
1680
+
--allow-offline bool - When offline, save the IPNS record to the the local
1681
+
datastore without broadcasting to the network instead
1682
+
of simply failing.
1683
+
1678
1684
DESCRIPTION
1679
1685
1680
1686
Given a key of the form /foo/bar and a valid value for that key, this will write
@@ -5307,13 +5313,19 @@ USAGE
5307
5313
system.
5308
5314
5309
5315
SYNOPSIS
5310
-
ipfs routing put [--] <key> <value-file>
5316
+
ipfs routing put [--allow-offline] [--] <key> <value-file>
5311
5317
5312
5318
ARGUMENTS
5313
5319
5314
5320
<key> - The key to store the value at.
5315
5321
<value-file> - A path to a file containing the value to store.
5316
5322
5323
+
OPTIONS
5324
+
5325
+
--allow-offline bool - When offline, save the IPNS record to the the local
5326
+
datastore without broadcasting to the network instead
5327
+
of simply failing.
5328
+
5317
5329
DESCRIPTION
5318
5330
5319
5331
Given a key of the form /foo/bar and a valid value for that key, this will write
0 commit comments