Files
freeCodeCamp/guide/russian/go/installing-go/mac-tarball/index.md
Randell Dawson 0a1eeea424 fix(guide) Replace invalid prism code block names (#35961)
* fix: replace sh with shell

fix replace terminal with shell

fix replace node with js

fix replace output with shell

fix replace cs with csharp

fix replace c++ with cpp

fix replace c# with csharp

fix replace javasctipt with js

fix replace syntax  with js

fix replace unix with shell

fix replace linux with shell

fix replace java 8 with java

fix replace swift4 with swift

fix replace react.js with jsx

fix replace javascriot with js

fix replace javacsript with js

fix replace c++ -  with cpp

fix: corrected various typos

fix: replace Algorithm with nothing

fix: replace xaml with xml

fix: replace solidity with nothing

fix: replace c++ with cpp

fix: replace txt with shell

fix: replace code with json and css

fix: replace console with shell
2019-05-15 19:08:19 +02:00

32 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Installing Go in Mac OS X using a tarball
localeTitle: Установка Go в Mac OS X с помощью tarball
---
### Установка Go в Mac OS X с помощью tarball
#### Ссылка на архив
Вы можете получить ссылку на архив архива Mac OS из раздела «Последние стабильные» [страницы загрузки golang](https://golang.org/dl/) .
![screenshot of golang's download page as of this writting, highliting link](https://raw.githubusercontent.com/AlexandroPerez/resources/master/img/mac_tarball.jpg "Ссылка на Mac tarball")
#### Процесс установки
> В этом процессе установки мы будем использовать последнюю стабильную версию на момент написания этой статьи (см. 1.9.1). Для более новой или более старой версии просто замените ссылку на первом шаге. Проверьте [страницу загрузки golang,](https://golang.org/dl/) чтобы узнать, какие версии доступны в настоящее время.
##### Установка Go 1.9.1
```
$ curl -O https://storage.googleapis.com/golang/go1.9.1.darwin-amd64.tar.gz
$ sudo tar -C /usr/local -xzf go1.9.1.darwin-amd64.tar.gz
$ export PATH=$PATH:/usr/local/go/bin
```
#### Проверьте установку и версию go
Чтобы проверить, успешно ли установлен go, используйте:
```shell
$ go version
```
Это должно печатать на консоли версию go, и в то же время убедиться, что установка прошла гладко.