Skip to content

Commit

Permalink
Update dotnet installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz authored Nov 11, 2023
1 parent 750fd69 commit 1418bec
Showing 1 changed file with 21 additions and 37 deletions.
58 changes: 21 additions & 37 deletions .docs/Dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,51 @@

**.NET v7.0 Runtime** is required by **DiscordChatExporter v2.37 and newer**.

If you are using GUI flavor of DiscordChatExporter, the runtime will be installed automatically (since v2.27.1).
If you are using the CLI from Docker, installing the runtime on the host machine is not needed.
> **Note**:
> Installing the **.NET Runtime** is not required if you running **DiscordChatExporter** using [Docker](Docker.md).
- Install
- [Windows and macOS](#windows-and-macos)
- [Linux](#linux)
- [Docker](#docker)
- [Verify installation](#verify-installation-optional)
## Windows

## Windows and macOS
Both the GUI and the CLI flavors of **DiscordChatExporter** for Windows come with a bootstrapper that should automatically install all the required prerequisites. Simply run the application and follow the presented instructions.

**Download directly from one of the links:**
If, for some reason, you need to install the runtime manually, use one of the download links below:

- [.NET v7.0 Runtime for **Windows x64**](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-7.0.11-windows-x64-installer)
- [.NET v7.0 Runtime for **Windows x86**](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-7.0.11-windows-x86-installer)
- [.NET v7.0 Runtime for **Macs with Apple silicon**](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-7.0.11-macos-arm64-installer)
- [.NET v7.0 Runtime for **Macs with an Intel processor**](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-7.0.11-macos-x64-installer)
- [.NET v7.0 Runtime for **Windows x64**](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-7.0.13-windows-x64-installer)
- [.NET v7.0 Runtime for **Windows x86**](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-7.0.13-windows-x86-installer)
- [.NET v7.0 Runtime for **Windows arm64**](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-7.0.13-windows-arm64-installer)

> **Note**:
> [How can I tell if my computer is running a 32-bit (x86) or a 64-bit (x64) version of Windows?](https://support.microsoft.com/help/15056/windows-32-64-bit-faq)
> **Note**:
> [Is my Mac using an Intel processor or Apple silicon?](https://support.apple.com/HT211814)
## macOS

**Otherwise:**
[Check out the latest version on this page](https://dotnet.microsoft.com/download/dotnet/7.0).
Look for the download link in the '**.NET Runtime**' section, under **Installers**:
Use one of the download links below:

[![Screenshot from download page](https://i.imgur.com/t3PB3NC.png)](https://dotnet.microsoft.com/download/dotnet/7.0)
- [.NET v7.0 Runtime for **Macs with Apple silicon**](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-7.0.13-macos-arm64-installer)
- [.NET v7.0 Runtime for **Macs with an Intel processor**](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-7.0.13-macos-x64-installer)

## Linux
> **Note**:
> [Is my Mac using an Intel processor or Apple silicon?](https://support.apple.com/HT211814)
Installing the .NET Runtime works differently depending on which Linux distribution you use.
## Linux

Check out the instructions for your distro:
Installing the .NET Runtime works differently depending on which Linux distribution you use. Check out the instructions for your distro:

- [Ubuntu](https://docs.microsoft.com/dotnet/core/install/linux-ubuntu)
- [Debian](https://docs.microsoft.com/dotnet/core/install/linux-debian)
- [Fedora](https://docs.microsoft.com/dotnet/core/install/linux-fedora)

For other distros, please check the _'Install on Linux'_ menu on the left of [this page](https://docs.microsoft.com/dotnet/core/install/linux).

## Docker

Installing the .NET Runtime is not needed. Please refer to the [Docker usage instructions](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Docker.md) page for more information.

## Verify installation (optional)

You can check which version of **.NET Runtime** is installed by following these instructions:

### Step 1

**Windows:** Open Command Prompt (aka `cmd`)

**macOS and Linux:** Open `Terminal`
You can check which version of **.NET Runtime** is installed by running the following command in a terminal:

### Step 2

Run `dotnet --info`
```console
dotnet --info
```

If the **.NET Runtime** is correctly installed, the command will output the following:
If the **.NET Runtime** is correctly installed, the command will output something similar to the following:

```console
.NET runtimes installed:
Expand Down

0 comments on commit 1418bec

Please sign in to comment.