---
description: Describe about CLI of Go
---

# Go CLI

**Command**

1. `go mod init <PATH>`= Create module for management Go project. It will create go.mod file same as package.json in Node.
2. `go build <FILE_NAME>` = Build source code to be binary.
3. `go get <PACKAGE_NAME>`= Download package and store in module cache&#x20;
4. `go mod tidy` = It adds any missing module requirements necessary to build the current module’s packages and dependencies.

