배움/GOLANG

[GO Beginner Basics Chapter 3] Installing GO, Visual Studio, and GitHub Using Homebrew Commands Part 2

graceruna 2023. 12. 10. 02:03
반응형

Once Homebrew is installed, we will use Homebrew's commands to install GOLANG, Visual Studio, and GitHub.

 

What is Visual Studio? (Visual Studio) When you want to write something, what tool do you use? Probably a 'word processor' program. Visual Studio is like a 'word processor' for computer programming. Programmers use Visual Studio to write code that gives instructions to the computer. This is similar to writing, but in this case, it's done using a computer language. Visual Studio helps to easily write, read, and modify this code. It also assists in ensuring that the programs created by programmers work correctly.

 

What is GitHub? (GitHub) GitHub is like a large library on the internet. However, instead of books, it stores code written by programmers. Programmers can store their projects on GitHub and share them with others. This allows others to view, use, or even improve the code.


Installation Process

1. Use the BREW INSTALL command in the terminal to sequentially install GO, VISUAL_STUDIO_CODE, and GIT.

BREW INSTALL GIT

 

 

 

2. Enter the BREW LIST command in the terminal to check if GO, VISUAL_STUDIO_CODE, and GIT have been installed.

BREW LIST

 

You can confirm that GIT and VISUAL_STUDIO_CODE have been installed.

3. Enter the MKDIR GOLANG command in the terminal to create a directory for GOLANG files.

MKDIR GOLANG
 

4. nter the CODE GOLANG command to execute the GOLANG file directory.

CODE GOLANG

 

 

Appearance of the GOLANG file in Visual Studio


Homebrew Commands - Let's organize the commands used above and other important commands.

1. BREW INSTALL program name - The command written in the terminal to install a program using Homebrew.

BREW INSTALL

2. BREW UNINSTALL program name - The command to uninstall a program using Homebrew.

BREW UNINSTALL

 

3. BREW LIST - The command to list the programs installed through Homebrew.

BREW LIST
 

4. BREW UPGRADE program name - The command to selectively upgrade a specific program.

BREW UPGRADE
 

5. BREW UPGRADE _ The command to upgrade all programs installed via Homebrew.

BREW UPGRADE
 

It's good to familiarize yourself with these basic terminal commands as well.

Terminal Commands

1. CLEAR _ Command to clear the terminal screen when it becomes cluttered with continuous command outputs.

CLEAR

2. EXIT _ Command to exit the terminal screen.

EXIT
 

3. MDKIR Filename _ Command to create a directory file in the terminal.

MKDIR
 

4. PWD _ Shows the path of the currently created directory.

PWD

5. OPEN . _ Moves to the directory just created with MKDIR.

OPEN .

6.rm -r _ Command to delete a directory created with MKDIR

RM -R

7. CODE Program or file name_ Command to directly execute a file just created in the terminal.

CODE

 

 
반응형