Skip to content

Commit 8438e57

Browse files
Bumped documentation & installation docs. (#2155)
Co-authored-by: [email protected] <lidel>
1 parent 5f52cbf commit 8438e57

File tree

7 files changed

+208
-187
lines changed

7 files changed

+208
-187
lines changed

docs/how-to/websites-on-ipfs/deploy-github-action.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Deploy static apps to IPFS with GitHub Actions
33
description: Guide on how to setup GitHub Actions to deploy static sites/apps to IPFS using the IPFS Deploy Action.
4-
current-ipfs-version: v0.37.0
4+
current-ipfs-version: v0.38.0
55
current-ipfs-cluster-version: v1.1.4
66
---
77

@@ -170,7 +170,7 @@ You can also customize the Kubo version and [`ipfs add` parameters](https://docs
170170
uses: ipfs/ipfs-deploy-action@v1
171171
with:
172172
# ... other inputs ...
173-
kubo-version: 'v0.37.0' # Default, change if needed
173+
kubo-version: 'v0.38.0' # Default, change if needed
174174
ipfs-add-options: '--cid-version 1 --chunker size-1048576' # Default options
175175
```
176176

docs/install/command-line.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Kubo
33
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
55
---
66

77
# Install IPFS Kubo
@@ -34,7 +34,7 @@ Kubo runs on most Windows, MacOS, Linux, FreeBSD and OpenBSD systems that meet t
3434

3535
Note the following:
3636
- 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.
3838

3939

4040
<!-- 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
6969
1. Download the Linux binary from [`dist.ipfs.tech`](https://dist.ipfs.tech/#kubo).
7070

7171
```bash
72-
wget https://dist.ipfs.tech/kubo/v0.37.0/kubo_v0.37.0_linux-amd64.tar.gz
72+
wget https://dist.ipfs.tech/kubo/v0.38.0/kubo_v0.38.0_linux-amd64.tar.gz
7373
```
7474

7575
1. Unzip the file:
7676

7777
```bash
78-
tar -xvzf kubo_v0.37.0_linux-amd64.tar.gz
78+
tar -xvzf kubo_v0.38.0_linux-amd64.tar.gz
7979

8080
> x kubo/install.sh
8181
> x kubo/ipfs
@@ -104,7 +104,7 @@ For installation instructions for your operating system, select the appropriate
104104
```bash
105105
ipfs --version
106106

107-
> ipfs version 0.37.0
107+
> ipfs version 0.38.0
108108
```
109109

110110
:::
@@ -116,27 +116,27 @@ For installation instructions for your operating system, select the appropriate
116116
1. Download the Windows binary from [`dist.ipfs.tech`](https://dist.ipfs.tech/#kubo).
117117

118118
```powershell
119-
wget https://dist.ipfs.tech/kubo/v0.37.0/kubo_v0.37.0_windows-amd64.zip -Outfile kubo_v0.37.0.zip
119+
wget https://dist.ipfs.tech/kubo/v0.38.0/kubo_v0.38.0_windows-amd64.zip -Outfile kubo_v0.38.0.zip
120120
```
121121

122-
1. Unzip the file to a sensible location, such as `~\Apps\kubo_v0.37.0`.
122+
1. Unzip the file to a sensible location, such as `~\Apps\kubo_v0.38.0`.
123123

124124
```powershell
125-
Expand-Archive -Path kubo_v0.37.0.zip -DestinationPath ~\Apps\kubo_v0.37.0
125+
Expand-Archive -Path kubo_v0.38.0.zip -DestinationPath ~\Apps\kubo_v0.38.0
126126
```
127127

128-
1. Move into the `kubo_v0.37.0` folder
128+
1. Move into the `kubo_v0.38.0` folder
129129

130130
```powershell
131-
cd ~\Apps\kubo_v0.37.0\kubo
131+
cd ~\Apps\kubo_v0.38.0\kubo
132132
```
133133

134134
1. Check that the `ipfs.exe` works:
135135

136136
```powershell
137137
.\ipfs.exe --version
138138
139-
> ipfs version 0.37.0
139+
> ipfs version 0.38.0
140140
```
141141

142142
At this point, Kubo is usable. However, it's strongly recommended that you first add `ipfs.exe` to your `PATH` using the following steps:
@@ -182,7 +182,7 @@ For installation instructions for your operating system, select the appropriate
182182
```powershell
183183
ipfs --version
184184
185-
> ipfs version 0.37.0
185+
> ipfs version 0.38.0
186186
```
187187

188188
:::
@@ -210,7 +210,7 @@ For installation instructions for your operating system, select the appropriate
210210
If Kubo is installed, the version number displays. For example:
211211

212212
```bash
213-
> ipfs version 0.37.0
213+
> ipfs version 0.38.0
214214
```
215215
:::
216216

@@ -221,13 +221,13 @@ For installation instructions for your operating system, select the appropriate
221221
1. Download the FreeBSD binary from [`dist.ipfs.tech`](https://dist.ipfs.tech/#kubo).
222222

223223
```bash
224-
wget https://dist.ipfs.tech/kubo/v0.37.0/kubo_v0.37.0_freebsd-amd64.tar.gz
224+
wget https://dist.ipfs.tech/kubo/v0.38.0/kubo_v0.38.0_freebsd-amd64.tar.gz
225225
```
226226

227227
1. Unzip the file:
228228

229229
```bash
230-
tar -xvzf kubo_v0.37.0_freebsd-amd64.tar.gz
230+
tar -xvzf kubo_v0.38.0_freebsd-amd64.tar.gz
231231

232232
> x kubo/install.sh
233233
> x kubo/ipfs
@@ -256,7 +256,7 @@ For installation instructions for your operating system, select the appropriate
256256
```bash
257257
ipfs --version
258258

259-
> ipfs version 0.37.0
259+
> ipfs version 0.38.0
260260
```
261261

262262
:::
@@ -268,13 +268,13 @@ For installation instructions for your operating system, select the appropriate
268268
1. Download the OpenBSD binary from [`dist.ipfs.tech`](https://dist.ipfs.tech/#kubo).
269269

270270
```bash
271-
wget https://dist.ipfs.tech/kubo/v0.37.0/kubo_v0.37.0_openbsd-amd64.tar.gz
271+
wget https://dist.ipfs.tech/kubo/v0.38.0/kubo_v0.38.0_openbsd-amd64.tar.gz
272272
```
273273

274274
1. Unzip the file:
275275

276276
```bash
277-
tar -xvzf kubo_v0.37.0_openbsd-amd64.tar.gz
277+
tar -xvzf kubo_v0.38.0_openbsd-amd64.tar.gz
278278

279279
> x kubo/install.sh
280280
> x kubo/ipfs
@@ -303,7 +303,7 @@ For installation instructions for your operating system, select the appropriate
303303
```bash
304304
ipfs --version
305305

306-
> ipfs version 0.37.0
306+
> ipfs version 0.38.0
307307
```
308308

309309
:::
@@ -315,7 +315,7 @@ For installation instructions for your operating system, select the appropriate
315315

316316
## Build Kubo from source
317317

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.
319319

320320
## Determining which node to use with the command line
321321

docs/install/run-ipfs-inside-docker.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Install IPFS Kubo inside Docker
33
description: You can run IPFS inside Docker to simplify your deployment processes, and horizontally scale your IPFS infrastructure.
4-
current-ipfs-version: v0.37.0
4+
current-ipfs-version: v0.38.0
55
---
66

77
# Install IPFS Kubo inside Docker
@@ -21,7 +21,7 @@ You can run Kubo IPFS inside Docker to simplify your deployment processes, as we
2121
1. Start a container running ipfs and expose ports `4001` (P2P TCP/QUIC transports), `5001` (RPC API) and `8080` (Gateway):
2222

2323
```shell
24-
docker run -d --name ipfs_host -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:v0.37.0
24+
docker run -d --name ipfs_host -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:v0.38.0
2525
```
2626

2727
::: 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
7171
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:
7272

7373
```shell
74-
docker run -d --name ipfs_host -e IPFS_PROFILE=server -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:v0.37.0
74+
docker run -d --name ipfs_host -e IPFS_PROFILE=server -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:v0.38.0
7575
```
7676

7777
## Customizing your node
@@ -119,22 +119,22 @@ Example:
119119
docker run # (....)
120120
--cpus="4.0" -e GOMAXPROCS=4 \
121121
--memory="8000m" -e GOMEMLIMIT=7500MiB \
122-
ipfs/kubo:v0.37.0
122+
ipfs/kubo:v0.38.0
123123
```
124124

125125
## Private swarms inside Docker
126126

127127
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`.
128128

129129
```shell
130-
docker run -d --name ipfs_host -e IPFS_SWARM_KEY=<your swarm key> -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:v0.37.0
130+
docker run -d --name ipfs_host -e IPFS_SWARM_KEY=<your swarm key> -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:v0.38.0
131131
```
132132

133133
The swarm key initialization can also be done using docker secrets, and requires `docker swarm` or `docker-compose`:
134134

135135
```shell
136136
cat your_swarm.key | docker secret create swarm_key_secret -
137-
docker run -d --name ipfs_host --secret swarm_key_secret -e IPFS_SWARM_KEY_FILE=/run/secrets/swarm_key_secret -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:v0.37.0
137+
docker run -d --name ipfs_host --secret swarm_key_secret -e IPFS_SWARM_KEY_FILE=/run/secrets/swarm_key_secret -v $ipfs_staging:/export -v $ipfs_data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:v0.38.0
138138
```
139139

140140
## Key rotation inside Docker
@@ -143,10 +143,10 @@ It is possible to do key rotation in an ephemeral container that is temporarily
143143

144144
```shell
145145
# given container named 'ipfs-test' that persists repo at /path/to/persisted/.ipfs
146-
docker run -d --name ipfs-test -v /path/to/persisted/.ipfs:/data/ipfs ipfs/kubo:v0.37.0
146+
docker run -d --name ipfs-test -v /path/to/persisted/.ipfs:/data/ipfs ipfs/kubo:v0.38.0
147147
docker stop ipfs-test
148148
149149
# key rotation works like this (old key saved under 'old-self')
150-
docker run --rm -it -v /path/to/persisted/.ipfs:/data/ipfs ipfs/kubo:v0.37.0 key rotate -o old-self -t ed25519
150+
docker run --rm -it -v /path/to/persisted/.ipfs:/data/ipfs ipfs/kubo:v0.38.0 key rotate -o old-self -t ed25519
151151
docker start ipfs-test # will start with the new key
152152
```

docs/reference/kubo/cli.md

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: API documentation for the Kubo command-line executable.
55

66
# Kubo command-line
77

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)
1010
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.
1111
:::
1212

@@ -235,8 +235,9 @@ OPTIONS
235235
Import.UnixFSHAMTDirectoryMaxFanout.
236236
--inline bool - Inline small blocks into CIDs. WARNING:
237237
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.
240241
--nocopy bool - Add the file using filestore. Implies
241242
raw-leaves. WARNING: experimental.
242243
--fscache bool - Check the filestore for pre-existing
@@ -269,7 +270,7 @@ DESCRIPTION
269270
270271
If the daemon is not running, it will just add locally to the repo at $IPFS_PATH.
271272
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.
273274
274275
BASIC EXAMPLES:
275276
@@ -1130,7 +1131,7 @@ DESCRIPTION
11301131
11311132
Available profiles:
11321133
'announce-off':
1133-
Disables Provide and Reprovide systems (announcing to Amino DHT).
1134+
Disables Provide system (announcing to Amino DHT).
11341135
11351136
USE WITH CAUTION:
11361137
The main use case for this is setups with manual Peering.Peers config.
@@ -1139,7 +1140,7 @@ DESCRIPTION
11391140
one hosting it, and other peers are not already connected to it.
11401141
11411142
'announce-on':
1142-
Re-enables Provide and Reprovide systems (reverts announce-off profile).
1143+
Re-enables Provide system (reverts announce-off profile).
11431144
'autoconf-off':
11441145
Disables AutoConf and sets networking fields to empty for manual configuration.
11451146
Bootstrap peers, DNS resolvers, delegated routers, and IPNS delegated publishers are set to empty.
@@ -2007,13 +2008,18 @@ DESCRIPTION
20072008
the full MFS structure (updated CIDs) 2) that the parent-folder's cache is
20082009
cleared. Use caution when setting this flag to false. It will improve
20092010
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.
20172023
20182024
SUBCOMMANDS
20192025
ipfs files chcid [<path>] - Change the CID version or hash function of
@@ -4843,12 +4849,12 @@ OPTIONS
48434849
48444850
DESCRIPTION
48454851
4846-
Clear all CIDs from the reprovide queue.
4852+
Clear all CIDs pending to be provided for the first time.
48474853
48484854
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
48504856
strategies, see:
4851-
https://github.com/ipfs/kubo/blob/master/docs/config.md#reproviderstrategy
4857+
https://github.com/ipfs/kubo/blob/master/docs/config.md#providestrategy
48524858
48534859
48544860
```
@@ -4867,8 +4873,8 @@ SYNOPSIS
48674873
DESCRIPTION
48684874
48694875
Returns statistics about the content the node is reproviding every
4870-
Reprovider.Interval according to Reprovider.Strategy:
4871-
https://github.com/ipfs/kubo/blob/master/docs/config.md#reprovider
4876+
Provide.DHT.Interval according to Provide.Strategy:
4877+
https://github.com/ipfs/kubo/blob/master/docs/config.md#provide
48724878
48734879
This interface is not stable and may change from release to release.
48744880
@@ -5197,7 +5203,7 @@ SYNOPSIS
51975203
51985204
OPTIONS
51995205
5200-
--to int - Target repository version. Default: 17.
5206+
--to int - Target repository version. Default: 18.
52015207
--allow-downgrade bool - Allow downgrading to a lower repo version.
52025208
52035209
DESCRIPTION

docs/reference/kubo/rpc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ I AM SERIOUS, DO NOT EDIT ANYTHING BELOW ;-D
4747
4848
-->
4949

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).
5252
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.
5353
:::
5454

@@ -195,7 +195,7 @@ Add a file or directory to IPFS.
195195
- `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.
196196
- `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.
197197
- `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.
199199
- `nocopy` [bool]: Add the file using filestore. Implies raw-leaves. WARNING: experimental. Required: no.
200200
- `fscache` [bool]: Check the filestore for pre-existing blocks. WARNING: experimental. Required: no.
201201
- `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

Comments
 (0)