Gemini CLI, 무료인데 말도 안되게 사용 가능한 AI 사용 가이드

Brief Summary

This video introduces the Zenai CLI, a command-line interface tool by Google that allows coding using AI. It discusses the pros and cons of using Zenai CLI, including its lightweight nature, open-source availability, and free access during the preview period, as well as its limitations in function and content. The video also provides a step-by-step guide on how to install and run Zenai CLI, and demonstrates its capabilities by creating a stopwatch landing page and a Pac-Man game.

  • Zenai CLI is a command-line interface tool by Google that allows coding using AI.
  • It is lightweight, open-source, and free during the preview period.
  • It can be used to create simple applications like a stopwatch landing page and a Pac-Man game.

Introduction to Zenai CLI

The video introduces the Zenai CLI (Command Line Interface), a tool from Google that enables coding using AI in a command environment, similar to using PowerShell in Windows. It is presented as a tool for dive coding, contrasting with more intuitive GUI-based tools like Loveable. The presenter aims to discuss the advantages and disadvantages of the Zenai CLI, as well as demonstrate its installation and usage.

Pros and Cons of Zenai CLI

The advantages of Zenai CLI include its lightweight nature, ease of installation, and speed. Being open source under the Apache 2.0 license, it allows developers to easily understand, review, and check its security. It supports a request volume of 60 requests per minute and 1,000 per day, handling context for up to 1 million tokens. During the preview period, all core features are available for free. The downsides are that its light nature means it lacks built-in functions, requiring external components like MCP. The quality may be poor for complex tasks. It is also considered less user-friendly compared to GUI-based tools.

Installation of Zenai CLI

The presenter demonstrates the installation process using PowerShell on Windows. First, a new folder named "Nemi Test" is created using the MKD command, and then the directory is entered using CD Nemi Test. The installation command mpm install /google/geminada is used, but an error occurs because Node.js is not installed. The presenter then downloads and installs Node.js, ensuring that the option to install necessary tools is checked. After installation, the PowerShell is restarted, and the installation command is re-entered.

Troubleshooting Installation Errors

An error related to PS Security, specifically "Iception," occurs, which restricts script execution. To resolve this, the presenter uses the command to modify the restriction settings, allowing the script to run. After confirming the change, the installation command mpm install g golbang google sl/sijemina CLI is re-entered, and the installation completes successfully in 8 seconds.

Running and Configuring Zenai CLI

After installation, the presenter types "fun age" to start the Zenai CLI. A theme selection screen appears, and the presenter chooses the default theme. The next step involves authenticating with an API key, Google Sign-In, or Vertex AI. The presenter opts for Google Sign-In, which redirects to a login window. After logging in and granting approval, the CLI displays a screen indicating successful login, ready for message input.

Creating a Stopwatch Landing Page

The presenter demonstrates how to use Zenai CLI by creating a stopwatch landing page. They input the request "Create a landing page with a stopwatch function." The CLI outlines the plan, including the creation of index.html, style.css, and script.js files. The presenter confirms the plan, and the CLI generates the HTML, CSS, and JavaScript files. These files are then inspected in the folder, and the index.html file is run to display the stopwatch landing page. The stopwatch function is tested, and it works smoothly.

Adding a Timer Function

The presenter extends the functionality of the landing page by adding a timer function. They input a request to add a timer with a time limit. After the CLI completes the task, the browser is refreshed, and a timer tab appears alongside the stopwatch. The timer allows users to set a specific time, and it counts down as expected. The stopwatch function remains unchanged and continues to work without errors.

Creating a Pac-Man Game

The presenter attempts to create a more complex application: a Pac-Man game. A new folder called "Pac-Man" is created, and the CLI is instructed to create the game. The CLI confirms the directory creation and generates the necessary files. The presenter runs the index.html file, and the Pac-Man game appears. Although the Pac-Man character does not change direction with movement and the game over condition is ambiguous, the game functions to some extent.

Conclusion and Future of AI in Coding

The presenter reflects on the evolution of AI in coding, comparing Zenai CLI to previous tools like Cloud Code. They note the shift towards making AI more developer-friendly and accessible. The focus is now on using AI to automate repetitive tasks and generate standardized code quickly, allowing developers to concentrate on more complex aspects like error handling, patterns, and structures. The presenter concludes by introducing the interesting CLI.

Summarize any YouTube video in seconds

Get summaries like this one for any video, in your language, with the free Summ app.

Download on the Apple Store
Get it on Google Play

Transcript

Full transcript of “Gemini CLI, 무료인데 말도 안되게 사용 가능한 AI 사용 가이드”. Click a timestamp to open the video at that moment. Need another video? Use the YouTube transcript generator.

0:01 [Music] Hello. This is IT Connect. Today, I'm going to talk a little bit about the Zenai CLI that Google recently announced . This Zenai CLI is short for Command Line Interface. This is a tool that allows us to code using our AI in a command environment. You may not understand this these days, but in our case, Windows has something called PowerShare. We have this blinking cursor, so there are times when we code by writing something like this here, and this is what we now call the command environment. I think you could see it as a tool that allows us to do dive coding in this style, using AI

0:47 . So, I guess there are some that are prettier than the cursor or with GUI now. For example, things like Loveable are very intuitive. Here, you just need to enter the Chrome file you want to create the homepage or mobile app for, but it's a little difficult when it comes out like this . Well, I guess this came out because it was good. So let's talk about that . Let's take a quick look at the pros and cons of the Yesterday Line CLI and install and run it ourselves . The advantage is that it is lightweight. It's easy to install and works quickly. Because it is provided as a complete open source based on the new Apache 2.0 line, it is

1:35 said to be very easy for developers to understand the code and check how it works and its security by reviewing it. I think this is important to us . They say that model requests can be made 60 times per minute and 1,000 times per day . In fact, I think this is a larger request volume than most paid services . It seems like it can handle a really large amount of data, because it provides an overwhelming amount of data and also provides context for up to 1 million tokens . Now, during the preview period, all the core features are available for free . Especially the fun 2.5% is paid. It says that you can access this without any cost . I guess it would be better to try it now . There are also downsides. They say that because it is light, it has no function or content inside. So, if we do

2:21 n't bring in and use things like MCP, should we say that even if it's a fun or 2.1 model, the quality will be poor when writing deep thoughts or detailed content ? Let's talk about it later . This doesn't feel like something we can do on Windows or Mac where we can just click on an icon and type something like Loveable, but rather it feels like something too difficult in the command window . First of all, you can see that there is such a barrier. Let's just move on. Let's try installing it right away . Okay, I'm using Powersil. Well, Windows has PowerShell, but for Mac users, it's actually a lot more convenient because they have a separate terminal . Okay, let's try entering a command here. Since it's currently set to System 32 in Windows, I'm going to create a folder here. If you

3:07 use the command MKD, a folder is created. Let me try the Nemi Test here . Then, a folder like this will be created. To enter this folder, turn on the CD and click on the folder name to enter the folder . Okay, we're going to do this here . To install this gemina, just type this mpminstall/google/geminada . As you can see, errors like this can occur. In this case, you need to have node installed to be able to use the mpm command . When I hit PM, nothing comes out. So first of all, if this happens, please search for node in the search bar

3:56 . I clicked download because I'm on Windows. Just download the Windows installer and run it . You just need to install the node . yes. Click Next, check, and then click Next. It says that the necessary tools will be installed automatically, so let's check it and move on. So let's install it. yes. yes. Once the installation is complete, click Finish . A window like this will pop up. You can just press enter to pass it on. Okay, then please turn off the node. Okay, I turned the fountain off and on. Let's go back to the underbar test of Gemini that we created in the beginning . Then I ran a node check and confirmed that it was installed. PM Ins Dasuji

4:44 Golbangi Google Slash Fun Age Again CLI Even though I ran it with administrator rights, this error occurred. It says here that this is a supplementary error . PS Security is called Iception. Simply put, Power restricts execution of script files by default for security reasons . So, let's check this out . If you type this command, it says that the current restriction is limited . So let me change this up a bit . Sean, I'm going to change this so that it can now be run like this . Let's press Y to confirm. Now,

5:30 here again, we can see the installation when we type the same command mpm install g golbang google sl/sijemina CLI . Yes, it will be installed quickly. It installed in 8 seconds . Once the installation is complete, when you type in "fun age", you will see a screen like this. yes. Try typing on the keyboard like this . You can choose a theme . Now, since the summer is blue, I think it would be better to just use the general default. Hit enter and enter your API key or sign in with Google or use Vertex AI. I'll use Google sign in . Then, you will be taken to a login window like this

6:17 . Let's try logging in . And then I'll click on log in . Okay, if a page appears saying that it has been approved, you can move on. Once you log in like this, it will say Type Your Message 5, Pass 28. Once you log in, you will see a screen like this . Okay, this is CLI. CLI is a good development tool. It's lightweight and extensible . It feels a bit more developer friendly now. So, I'm going to show you how to use it now. Let's try writing something like this in the input box. Okay, so what I'm going to make is a Stowaway Watch , a single-page Stowaway page. Let's try typing here, "Create a

7:03 landing page with a stopwatch function ." yes. So, let me say, “I’ll create a landing page like this for you,” and then I’ll tell you the plan first. It explains what each file, index.html, style.css, and script.js, does. Since you said that we should proceed as planned here, I will let you know that we should proceed as planned. yes. I'm generating HTML called index.html. Hey, do you always allow changes, do you always allow it, or do you only allow it once? Otherwise, you can edit it in another editor, but

7:51 I'll just pass it on as it's always there. So, this is how you can have fun working on code. When you look at the actual folder, you can see that files are created like this. yes. Do you have script.js now? yes. They said they all became fish. Let's run index.html to see what it actually looks like. Now, when you run it, it will appear like this . Let's see if the feature works. Press start and oh, yes. Time is passing quickly. Try stopping too . I'll try resetting it too. You can see that it goes very smoothly . Oh, I'll show you a function . Now it's a timer with a timer function, but let's create a timer that has a time limit

8:39 . Let's try adding a timer function here . yes. Because it says the task is completed. Now, if you press F and then F4 in your browser to refresh, yes. Now comes the Star Much . There's also a timer. So, it's divided into a separate tab . Here you can choose the time . When you press start, the timer works like this. It's decreasing by one minute per hour . In the case of Star Watch, it has the same function as before. So, it is made very neatly and without any errors . Okay, let's try one more thing . It's going very smoothly

9:26 . Let's try making a slightly more complex game . I think I might have to change the folder this time. Let's try creating an additional folder called Pac-Man and asking it to create a Pac-Man game . yes. It's asking the same thing . It says, "Do you want to create a directory called Pac-Man?" So, if you do that first, it's okay . Always MKD is a dot dot, but this means that from now on, the MKDI command will be executed automatically without asking. I'll do it second and let it run on its own . Now, if you look at the top right of the folder, you'll see a

10:12 folder called Pacman, right? Shall we go in ? yes. You can see that the files are created like this. Now, as you can see, it says that we will create a file here and implement the core functions of the Hackman game . yes. Since it says that the creation is complete, I'll run this index HTM once . Let's move it like this and try running it. yes. The game is running. One thing that's a bit annoying is that Pac-Man is now opening his mouth and going back and forth, and he should change direction accordingly with each movement, but he's not even changing direction . But I think it's still going well . When you do this, the game over appears, but it's a bit ambiguous as to exactly when the game over occurs, but I think we

10:58 need to take care of these things one by one . Still, in less than 3 minutes, I was able to create this Pac-Man game and see with my own eyes that it worked to some extent. Recently, there was this Google Fun or CLI, but there was the Cloud code that came out a while ago, right ? The same goes for Claude's code. In the past, it was just made by sending a prompt from Claude or Chazz, but it seems like it's gradually changing to be more developer-friendly and easier to develop. How do we catch these errors? So, in the past, you had to spend a really long time learning, memorizing, and getting used to how to code or how to write the code itself. Now, we're thinking about

11:45 using AI to write repetitive tasks as much as possible or to write somewhat standardized codes as quickly as possible, and then having people write the more difficult codes or having people focus more on errors, patterns, structures, and so on . It just came out most recently. Let me introduce you to the interesting C. [music]

Share

More video summaries