Go env: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= =Overview= The <code>env</code> command prints the effective values of the environment variables relevant to the tool chain. <syntaxhig...") |
|||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Go_Tool#env|<tt>go</tt> Tool]] | |||
=Overview= | =Overview= | ||
The <code>env</code> command prints the effective values of the [[Go_Environment_Variables|environment variables]] relevant to the tool chain. | The <code>env</code> command prints the effective values of the [[Go_Environment_Variables|environment variables]] relevant to the tool chain. |
Revision as of 22:03, 27 October 2023
Internal
Overview
The env
command prints the effective values of the environment variables relevant to the tool chain.
go env GOOS GOARCH GOPATH
Options
-w
The flag requires one or more NAME=VALUE
arguments and changes the default settings for the named environment variables.