[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename go-ipfs to kubo #1185

Merged
merged 19 commits into from
Jul 21, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: rpc and cli kubo 0.14
  • Loading branch information
lidel committed Jul 21, 2022
commit 593dbc513a096f0837d3c9d7378a34c0ceb10af0
28 changes: 14 additions & 14 deletions docs/install/command-line.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Command-line
description: Using IPFS 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.
current-ipfs-version: v0.13.1
current-ipfs-version: v0.14.0
---

# Command-line
Expand All @@ -12,7 +12,7 @@ Installing IPFS through the command-line is handy if you plan on building applic

## System requirements

Kubo IPFS requires 512MiB of memory and can run an IPFS node on a Raspberry Pi. However, how much disk space your IPFS installation takes up depends on how much data you're sharing. A base installation takes up about 12MB of disk space. One can enable automatic garbage collection via [--enable-gc](/reference/kubo/cli/#ipfs-daemon) and adjust the [default maximum disk storage](https://github.com/ipfs/kubo/blob/v0.13.1/docs/config.md#datastorestoragemax) for data retrieved from other peers.
Kubo IPFS requires 512MiB of memory and can run an IPFS node on a Raspberry Pi. However, how much disk space your IPFS installation takes up depends on how much data you're sharing. A base installation takes up about 12MB of disk space. One can enable automatic garbage collection via [--enable-gc](/reference/kubo/cli/#ipfs-daemon) and adjust the [default maximum disk storage](https://github.com/ipfs/kubo/blob/v0.14.0/docs/config.md#datastorestoragemax) for data retrieved from other peers.

## Official distributions

Expand All @@ -28,22 +28,22 @@ The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help

```powershell
cd ~\
wget https://dist.ipfs.io/kubo/v0.13.1/kubo_v0.13.1_windows-amd64.zip -Outfile kubo_v0.13.1.zip
wget https://dist.ipfs.io/kubo/v0.14.0/kubo_v0.14.0_windows-amd64.zip -Outfile kubo_v0.14.0.zip
```

1. Unzip the file and move it somewhere handy.

```powershell
Expand-Archive -Path kubo_v0.13.1.zip -DestinationPath ~\Apps\kubo_v0.13.1
Expand-Archive -Path kubo_v0.14.0.zip -DestinationPath ~\Apps\kubo_v0.14.0
```

1. Move into the `kubo_v0.13.1` folder and check that the `ipfs.exe` works:
1. Move into the `kubo_v0.14.0` folder and check that the `ipfs.exe` works:

```powershell
cd ~\Apps\kubo_v0.13.1\kubo
cd ~\Apps\kubo_v0.14.0\kubo
.\ipfs.exe --version

> ipfs version 0.13.1
> ipfs version 0.14.0
```

While you can use IPFS right now, it's better to add `ipfs.exe` to your `PATH` by using the following steps.
Expand Down Expand Up @@ -84,7 +84,7 @@ The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help
cd ~
ipfs --version

> ipfs version 0.13.1
> ipfs version 0.14.0
```

### macOS
Expand All @@ -96,13 +96,13 @@ You can install IPFS on M1-based Macs by using the `darwin-arm64` binary instead
1. Download the macOS binary from [`dist.ipfs.io`](https://dist.ipfs.io/#kubo).

```bash
curl -O https://dist.ipfs.io/kubo/v0.13.1/kubo_v0.13.1_darwin-amd64.tar.gz
curl -O https://dist.ipfs.io/kubo/v0.14.0/kubo_v0.14.0_darwin-amd64.tar.gz
```

1. Unzip the file:

```bash
tar -xvzf kubo_v0.13.1_darwin-amd64.tar.gz
tar -xvzf kubo_v0.14.0_darwin-amd64.tar.gz

> x kubo/install.sh
> x kubo/ipfs
Expand All @@ -126,21 +126,21 @@ You can install IPFS on M1-based Macs by using the `darwin-arm64` binary instead
```bash
ipfs --version

> ipfs version 0.13.1
> ipfs version 0.14.0
```

### Linux

1. Download the Linux binary from [`dist.ipfs.io`](https://dist.ipfs.io/#kubo).

```bash
wget https://dist.ipfs.io/kubo/v0.13.1/kubo_v0.13.1_linux-amd64.tar.gz
wget https://dist.ipfs.io/kubo/v0.14.0/kubo_v0.14.0_linux-amd64.tar.gz
```

1. Unzip the file:

```bash
tar -xvzf kubo_v0.13.1_linux-amd64.tar.gz
tar -xvzf kubo_v0.14.0_linux-amd64.tar.gz

> x kubo/install.sh
> x kubo/ipfs
Expand All @@ -164,7 +164,7 @@ You can install IPFS on M1-based Macs by using the `darwin-arm64` binary instead
```bash
ipfs --version

> ipfs version 0.13.1
> ipfs version 0.14.0
```

## Compile manually
Expand Down
Loading