docs: update installation instructions for Go and Make across platforms

This commit is contained in:
Ardeman 2025-02-27 10:23:24 +08:00
parent 14f38b792d
commit 802692f6c1

View File

@ -9,14 +9,14 @@ Before proceeding, make sure you have the following installed on your computer:
## Steps to Install Go 1.24.0
### For Windows:
### `go` For Windows:
1. Download the installer from [official Go website](https://golang.org/dl/).
2. Run the downloaded `.msi` file and follow the installation wizard.
3. During installation, you may be prompted to set the `GOPATH` and `GOROOT`. Choose the appropriate settings
based on your preference or keep the default values.
### For macOS:
### `go` For macOS:
1. Open Terminal.
2. Download the package using Homebrew (if not installed, visit [Homebrew website](https://brew.sh/) for
@ -32,7 +32,7 @@ installation instructions):
brew link --overwrite --force go@1.24
```
### For Linux:
### `go` For Linux:
1. Open Terminal.
2. Download the appropriate tarball from [official Go website](https://golang.org/dl/).
@ -61,20 +61,21 @@ You should see an output like `go version go1.24 darwin/amd64` (or similar, depe
## Install Make (if not already installed)
### For Windows:
### `make` For Windows:
- Download and install [Make for Windows](http://gnuwin32.sourceforge.net/packages/make.htm).
- Add the installation directory to your PATH.
### For macOS:
### `make` For macOS:
1. Open Terminal.
2. Install Make using Homebrew:
```bash
brew install make
```
### For Linux:
### `make` For Linux:
Make is usually pre-installed on most Linux distributions. If it's not installed, you can install it using your
package manager (e.g., `sudo apt-get install make` for Ubuntu).