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
+20-20Lines changed: 20 additions & 20 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.37.0
4
+
current-ipfs-version: v0.38.0
5
5
---
6
6
7
7
# Install IPFS Kubo
@@ -34,7 +34,7 @@ Kubo runs on most Windows, MacOS, Linux, FreeBSD and OpenBSD systems that meet t
34
34
35
35
Note the following:
36
36
- 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.
37
-
- 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.37.0/docs/config.md#datastorestoragemax) for data retrieved from other peers.
37
+
- 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.38.0/docs/config.md#datastorestoragemax) for data retrieved from other peers.
38
38
39
39
40
40
<!-- TODO: hide this footgun until https://github.com/ipfs/kubo/pull/10524 is merged and released in stable kubo
@@ -69,13 +69,13 @@ For installation instructions for your operating system, select the appropriate
69
69
1. Download the Linux binary from [`dist.ipfs.tech`](https://dist.ipfs.tech/#kubo).
@@ -303,7 +303,7 @@ For installation instructions for your operating system, select the appropriate
303
303
```bash
304
304
ipfs --version
305
305
306
-
> ipfs version 0.37.0
306
+
> ipfs version 0.38.0
307
307
```
308
308
309
309
:::
@@ -315,7 +315,7 @@ For installation instructions for your operating system, select the appropriate
315
315
316
316
## Build Kubo from source
317
317
318
-
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.37.0/README.md#build-from-source) section in the Kubo repository.
318
+
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.38.0/README.md#build-from-source) section in the Kubo repository.
319
319
320
320
## Determining which node to use with the command line
::: danger NEVER EXPOSE THE RPC API TO THE PUBLIC INTERNET
@@ -71,7 +71,7 @@ You can run Kubo IPFS inside Docker to simplify your deployment processes, as we
71
71
When starting a container running ipfs for the first time with an empty data directory, it will call `ipfs init` to initialize configuration files and generate a new keypair. At this time, you can choose which profile to apply using the `IPFS_PROFILE` environment variable:
It is possible to initialize the container with a swarm key file (`/data/ipfs/swarm.key`) using the variables `IPFS_SWARM_KEY` and `IPFS_SWARM_KEY_FILE`. The `IPFS_SWARM_KEY` creates `swarm.key` with the contents of the variable itself, while`IPFS_SWARM_KEY_FILE` copies the key from a path stored in the variable. The `IPFS_SWARM_KEY_FILE`**overwrites** the key generated by `IPFS_SWARM_KEY`.
Copy file name to clipboardExpand all lines: docs/reference/kubo/cli.md
+26-20Lines changed: 26 additions & 20 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 2025-08-27 22:37:27, from kubo 0.37.0
9
-
This document was autogenerated from CLI help text in [kubo 0.37.0](https://github.com/ipfs/kubo/releases/tag/v0.37.0)
8
+
::: tip Generated on 2025-10-02 01:49:45, from kubo 0.38.0
9
+
This document was autogenerated from CLI help text in [kubo 0.38.0](https://github.com/ipfs/kubo/releases/tag/v0.38.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
@@ -235,8 +235,9 @@ OPTIONS
235
235
Import.UnixFSHAMTDirectoryMaxFanout.
236
236
--inline bool - Inline small blocks into CIDs. WARNING:
237
237
experimental.
238
-
--inline-limit int - Maximum block size to inline. WARNING:
239
-
experimental. Default: 32.
238
+
--inline-limit int - Maximum block size to inline. Maximum:
239
+
128 bytes. WARNING: experimental.
240
+
Default: 32.
240
241
--nocopy bool - Add the file using filestore. Implies
241
242
raw-leaves. WARNING: experimental.
242
243
--fscache bool - Check the filestore for pre-existing
@@ -269,7 +270,7 @@ DESCRIPTION
269
270
270
271
If the daemon is not running, it will just add locally to the repo at $IPFS_PATH.
271
272
If the daemon is started later, it will be advertised after a few
272
-
seconds when the reprovider runs.
273
+
seconds when the provide system runs.
273
274
274
275
BASIC EXAMPLES:
275
276
@@ -1130,7 +1131,7 @@ DESCRIPTION
1130
1131
1131
1132
Available profiles:
1132
1133
'announce-off':
1133
-
Disables Provide and Reprovide systems (announcing to Amino DHT).
1134
+
Disables Provide system (announcing to Amino DHT).
1134
1135
1135
1136
USE WITH CAUTION:
1136
1137
The main use case for this is setups with manual Peering.Peers config.
@@ -1139,7 +1140,7 @@ DESCRIPTION
1139
1140
one hosting it, and other peers are not already connected to it.
1140
1141
1141
1142
'announce-on':
1142
-
Re-enables Provide and Reprovide systems (reverts announce-off profile).
1143
+
Re-enables Provide system (reverts announce-off profile).
1143
1144
'autoconf-off':
1144
1145
Disables AutoConf and sets networking fields to empty for manual configuration.
1145
1146
Bootstrap peers, DNS resolvers, delegated routers, and IPNS delegated publishers are set to empty.
@@ -2007,13 +2008,18 @@ DESCRIPTION
2007
2008
the full MFS structure (updated CIDs) 2) that the parent-folder's cache is
2008
2009
cleared. Use caution when setting this flag to false. It will improve
2009
2010
performance for large numbers of file operations, but it does so at the cost
2010
-
of consistency guarantees and unbound growth of the directories' in-memory
2011
-
caches. If the daemon is unexpectedly killed before running 'ipfs files
2012
-
flush' on the files in question, then data may be lost. This also applies to
2013
-
run 'ipfs repo gc' concurrently with '--flush=false' operations. We recommend
2014
-
flushing paths regularly with 'ipfs files flush', specially the folders on
2015
-
which many write operations are happening, as a way to clear the directory
2016
-
cache, free memory and speed up read operations.
2011
+
of consistency guarantees. If the daemon is unexpectedly killed before running
2012
+
'ipfs files flush' on the files in question, then data may be lost. This also
2013
+
applies to run 'ipfs repo gc' concurrently with '--flush=false' operations.
2014
+
2015
+
When using '--flush=false', operations are limited to prevent unbounded
2016
+
memory growth. After reaching Internal.MFSNoFlushLimit operations, further
2017
+
operations will fail until you run 'ipfs files flush'. This explicit failure
2018
+
(instead of auto-flushing) ensures you maintain control over when data is
2019
+
persisted, preventing unexpected partial states and making batch operations
2020
+
predictable. We recommend flushing paths regularly, especially folders with
2021
+
many write operations, to clear caches, free memory, and maintain good
2022
+
performance.
2017
2023
2018
2024
SUBCOMMANDS
2019
2025
ipfs files chcid [<path>] - Change the CID version or hash function of
@@ -4843,12 +4849,12 @@ OPTIONS
4843
4849
4844
4850
DESCRIPTION
4845
4851
4846
-
Clear all CIDs from the reprovide queue.
4852
+
Clear all CIDs pending to be provided for the first time.
4847
4853
4848
4854
Note: Kubo will automatically clear the queue when it detects a change of
4849
-
Reprovider.Strategy upon a restart. For more information about reprovider
4855
+
Provide.Strategy upon a restart. For more information about provide
Copy file name to clipboardExpand all lines: docs/reference/kubo/rpc.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,8 @@ I AM SERIOUS, DO NOT EDIT ANYTHING BELOW ;-D
47
47
48
48
-->
49
49
50
-
::: tip Generated on 2025-08-27, from kubo v0.37.0
51
-
This document was autogenerated from [v0.37.0](https://github.com/ipfs/kubo/releases/tag/v0.37.0).
50
+
::: tip Generated on 2025-10-02, from kubo v0.38.0
51
+
This document was autogenerated from [v0.38.0](https://github.com/ipfs/kubo/releases/tag/v0.38.0).
52
52
For issues and support, check out the [http-api-docs](https://github.com/ipfs/ipfs-docs/tree/main/tools/http-api-docs) generator on GitHub.
53
53
:::
54
54
@@ -195,7 +195,7 @@ Add a file or directory to IPFS.
195
195
-`max-directory-links`[int]: Limit the maximum number of links in UnixFS basic directory nodes to this value. WARNING: experimental, Import.UnixFSHAMTDirectorySizeThreshold is safer.UnixFSDirectoryMaxLinks. Required: no.
196
196
-`max-hamt-fanout`[int]: Limit the maximum number of links of a UnixFS HAMT directory node to this (power of 2, multiple of 8). WARNING: experimental, Import.UnixFSHAMTDirectorySizeThreshold is safer.UnixFSHAMTDirectoryMaxFanout. Required: no.
197
197
-`inline`[bool]: Inline small blocks into CIDs. WARNING: experimental. Required: no.
198
-
-`inline-limit`[int]: Maximum block size to inline. WARNING: experimental. Default: `32`. Required: no.
198
+
-`inline-limit`[int]: Maximum block size to inline. Maximum: 128 bytes. WARNING: experimental. Default: `32`. Required: no.
199
199
-`nocopy`[bool]: Add the file using filestore. Implies raw-leaves. WARNING: experimental. Required: no.
200
200
-`fscache`[bool]: Check the filestore for pre-existing blocks. WARNING: experimental. Required: no.
201
201
-`preserve-mode`[bool]: Apply existing POSIX permissions to created UnixFS entries. WARNING: experimental, forces dag-pb for root block, disables raw-leaves. Required: no.
0 commit comments