WEBVTT

00:00:00.900 --> 00:00:05.494
In a few minutes, Antigravity CLI will
be working in your project folder,

00:00:05.544 --> 00:00:07.228
and you'll know how
to keep it in check.

00:00:09.850 --> 00:00:12.716
AI for Research Efficiency.

00:00:12.766 --> 00:00:16.474
Episode 2.3: Install Antigravity CLI.

00:00:17.000 --> 00:00:22.882
Last time: a terminal, a project folder,
Git and Python, and an account.

00:00:23.083 --> 00:00:27.450
In this episode:
install Antigravity CLI,

00:00:27.861 --> 00:00:30.356
sign in,
run it in your project folder,

00:00:30.406 --> 00:00:32.048
and check each step
before you speed up.

00:00:34.100 --> 00:00:37.382
Step one: in PowerShell,
paste this line.

00:00:37.793 --> 00:00:42.987
It's irm, then Google's installer
address at antigravity.google,

00:00:43.357 --> 00:00:46.459
then a vertical bar, and iex.

00:00:49.799 --> 00:00:52.608
On a Mac, use the second line,
in Terminal.

00:00:53.100 --> 00:00:55.266
Both lines are on the companion page.

00:00:58.100 --> 00:01:02.448
Step two: close the terminal, open
a new one, and type agy --version.

00:01:02.798 --> 00:01:06.544
You should see a version number.

00:01:09.725 --> 00:01:14.014
If it says agy is not recognized,
the terminal hasn't found it yet.

00:01:14.405 --> 00:01:16.288
Open a new one, and try again.

00:01:19.700 --> 00:01:22.564
Step three:
go into your project folder with

00:01:22.674 --> 00:01:26.479
cd agent-work, and type agy.

00:01:28.679 --> 00:01:32.549
Always start it in a project folder,
never in your home folder.

00:01:36.500 --> 00:01:38.483
Step four: the first time,

00:01:38.534 --> 00:01:41.849
Antigravity opens your browser
to sign in with your Google account.

00:01:42.240 --> 00:01:44.544
Next time,
it signs you in on its own.

00:01:45.924 --> 00:01:48.769
Individuals can use it free,
within weekly limits.

00:01:49.160 --> 00:01:52.126
Google AI Pro
and Ultra plans raise them.

00:01:55.700 --> 00:01:59.302
Step five: Antigravity
starts in its default mode.

00:01:59.652 --> 00:02:04.155
Before it changes a file, it shows you
the change, and waits for you to press y.

00:02:04.335 --> 00:02:07.354
And on Windows,
it asks before every command.

00:02:10.100 --> 00:02:13.826
Step six: ask it something.
What's in this folder?

00:02:16.609 --> 00:02:19.696
It looks through the files,
and answers in plain words.

00:02:24.500 --> 00:02:27.124
Step seven:
when you trust it with a task,

00:02:27.235 --> 00:02:30.370
press Shift and Tab
for accept edits mode,

00:02:30.601 --> 00:02:33.595
and allow the commands you trust
with slash permissions.

00:02:33.926 --> 00:02:35.789
The work goes much faster.

00:02:35.989 --> 00:02:41.098
Google's own advice: monitor and
verify all actions taken by the agent.

00:02:46.100 --> 00:02:52.004
Pause now: install Antigravity CLI, open
a new terminal, and check the version.

00:02:58.100 --> 00:03:02.607
So: one line to install,
a new terminal, your project folder,

00:03:03.018 --> 00:03:08.266
sign in with Google, default mode first,
then accept edits when you trust it.

00:03:09.900 --> 00:03:11.726
Next: a worked example.

00:03:12.219 --> 00:03:16.413
Agents read a whole literature folder
in parallel, and check every claim.
