Назад к подкастамClaude
Claude Code 101
Установка Claude Code
Cloud Code is simple to install whether you want to use it in your terminal, the web, or your IDE.
Cloud Code прост в установке — неважно, хотите ли вы использовать его в терминале, браузере или IDE.
If you're on macOS, Linux, or WSL, use this curl command to install it in one go.
Если вы используете macOS, Linux или WSL, выполните эту команду curl для установки за один шаг.
If you prefer to use Homebrew, you can also use brew install to install it, but note that this doesn't have auto-update capabilities.
Если вы предпочитаете Homebrew, можно установить через brew install, но учтите, что этот способ не поддерживает автоматическое обновление.
For Windows, there's also a couple ways.
Для Windows тоже есть несколько способов.
In PowerShell, use the Invoke-RestMethod command.
В PowerShell используйте команду Invoke-RestMethod.
If you're on CMD, you can also use this curl command.
Если вы используете CMD, можно воспользоваться этой командой curl.
We also have a winget command as well if you prefer, but just like Homebrew, it won't auto-update.
Также есть команда winget, если вы предпочитаете её, но как и Homebrew, она не обновляется автоматически.
Now, go to your project directory and run cloud.
Теперь перейдите в директорию вашего проекта и запустите cloud.
You will go through some initial instructions like choosing your color theme and signing in with your cloud account, which could be the pro, max, or enterprise.
Вы пройдёте через несколько начальных шагов: выбор цветовой темы и вход в cloud-аккаунт, который может быть pro, max или enterprise.
Or you can use an API key.
Или вы можете использовать API key.
If your organization has a cloud enterprise account, be sure to select that option.
Если у вашей организации есть cloud enterprise-аккаунт, обязательно выберите этот вариант.
Whatever directory you decide to run cloud in, it will have access to that directory and all of its subfolders.
В какой бы директории вы ни запустили cloud, у него будет доступ к этой директории и всем её подпапкам.
In Visual Studio Code, open up your extensions panel and search for Cloud Code.
В Visual Studio Code откройте панель расширений и найдите Cloud Code.
You will see the extension by Anthropic.
Вы увидите расширение от Anthropic.
Make sure it has the blue check and hit install.
Убедитесь, что на нём есть синяя галочка, и нажмите «Установить».
After installation, you might need to restart VS Code.
После установки может потребоваться перезапустить VS Code.
After that, you can open up the control palette with control or command and shift and P and search Cloud Code.
После этого откройте палитру команд сочетанием Ctrl или Command, Shift и P и найдите Cloud Code.
Open a new tab.
Откройте новую вкладку.
You can also click on the cloud logo if you see it when a file is open.
Также можно нажать на логотип cloud, если он виден при открытом файле.
You can also opt out of the UI and just use the terminal experience directly in your settings file.
Вы также можете отключить интерфейс и использовать только терминальный режим прямо в файле настроек.
For JetBrains IDEs, you can install the Cloud Code plugin from the JetBrains Marketplace.
Для JetBrains IDE можно установить плагин Cloud Code из JetBrains Marketplace.
Once you install, restart your IDE.
После установки перезапустите IDE.
And when you reopen, you'll see the cloud logo.
При повторном открытии вы увидите логотип cloud.
This will open up a pane where you can see the terminal experience.
Откроется панель, в которой можно использовать терминальный режим.
And this will work alongside you.
И это будет работать рядом с вами.
On Cloud Desktop, you can also run Cloud Code.
На Cloud Desktop тоже можно запустить Cloud Code.
After you install Cloud Desktop and signed in, you will see a toggle at the top that says code.
После установки Cloud Desktop и входа в систему вы увидите переключатель вверху с надписью code.
The look and feel is similar to Claude chat side of things, but allows you to work in a specific folder, change permissions, and even work in a cloud environment.
Внешне это похоже на чат Claude, но позволяет работать в определённой папке, менять разрешения и даже работать в облачной среде.
On the web, you can access Claude code by going to claude.ai/code.
В браузере Claude code доступен по адресу claude.ai/code.
This works very similar to the desktop app.
Это работает очень похоже на настольное приложение.
However, you're restricted to GitHub repositories only.
Однако вы ограничены только репозиториями GitHub.
If you want to constantly keep up to date with everything, the terminal is the best bet.
Если хотите всегда быть в курсе последних обновлений, терминал — лучший выбор.
Features ship there the fastest.
Функции появляются там быстрее всего.
For the most part, you'll have extremely similar experiences with the IDE integrations if you like Claude code to feel more intertwined with your favorite code editor.
В большинстве случаев интеграция с IDE обеспечивает очень похожий опыт, если вы хотите, чтобы Claude code был теснее связан с вашим любимым редактором кода.
Desktop is great for letting Claude run in the background while you run other tasks.
Desktop отлично подходит для работы Claude в фоновом режиме, пока вы выполняете другие задачи.
Claude code on the web is a great option if you want to remotely work on a project through a GitHub repository or have multiple sessions work in parallel.
Claude code в браузере — отличный вариант, если вы хотите удалённо работать над проектом через репозиторий GitHub или запускать несколько сессий параллельно.
However, you want to use Claude code, it's up to you.
Как бы вы ни хотели использовать Claude code — это ваш выбор.