Voltar aos PodcastsClaude
Claude Code 101
Instalando o Claude Code
Cloud Code is simple to install whether you want to use it in your terminal, the web, or your IDE.
O Cloud Code é fácil de instalar, seja no terminal, na web ou na sua IDE.
If you're on macOS, Linux, or WSL, use this curl command to install it in one go.
Se você usa macOS, Linux ou WSL, use este comando curl para instalá-lo de uma só vez.
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.
Se preferir o Homebrew, também pode usar o brew install, mas observe que ele não tem capacidade de atualização automática.
For Windows, there's also a couple ways.
Para Windows, há também algumas opções.
In PowerShell, use the Invoke-RestMethod command.
No PowerShell, use o comando Invoke-RestMethod.
If you're on CMD, you can also use this curl command.
Se você usa CMD, também pode usar este comando curl.
We also have a winget command as well if you prefer, but just like Homebrew, it won't auto-update.
Também temos um comando winget se preferir, mas assim como o Homebrew, ele não será atualizado automaticamente.
Now, go to your project directory and run cloud.
Agora, vá para o diretório do seu projeto e execute o 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.
Você passará por algumas instruções iniciais, como escolher seu tema de cores e fazer login com sua conta cloud, que pode ser pro, max ou enterprise.
Or you can use an API key.
Ou você pode usar uma API key.
If your organization has a cloud enterprise account, be sure to select that option.
Se sua organização tem uma conta cloud enterprise, certifique-se de selecionar essa opção.
Whatever directory you decide to run cloud in, it will have access to that directory and all of its subfolders.
Qualquer diretório em que você escolha executar o cloud, ele terá acesso a esse diretório e a todas as suas subpastas.
In Visual Studio Code, open up your extensions panel and search for Cloud Code.
No Visual Studio Code, abra o painel de extensões e pesquise Cloud Code.
You will see the extension by Anthropic.
Você verá a extensão da Anthropic.
Make sure it has the blue check and hit install.
Certifique-se de que ela tem a marca de seleção azul e clique em instalar.
After installation, you might need to restart VS Code.
Após a instalação, pode ser necessário reiniciar o VS Code.
After that, you can open up the control palette with control or command and shift and P and search Cloud Code.
Em seguida, você pode abrir a paleta de comandos com Ctrl ou Comando e Shift e P e pesquisar Cloud Code.
Open a new tab.
Abra uma nova aba.
You can also click on the cloud logo if you see it when a file is open.
Você também pode clicar no logo do cloud se o vir quando um arquivo estiver aberto.
You can also opt out of the UI and just use the terminal experience directly in your settings file.
Você também pode desativar a interface e usar apenas a experiência de terminal diretamente no seu arquivo de configurações.
For JetBrains IDEs, you can install the Cloud Code plugin from the JetBrains Marketplace.
Para IDEs JetBrains, você pode instalar o plugin Cloud Code do JetBrains Marketplace.
Once you install, restart your IDE.
Depois de instalar, reinicie sua IDE.
And when you reopen, you'll see the cloud logo.
Quando reabrir, você verá o logo do cloud.
This will open up a pane where you can see the terminal experience.
Isso abrirá um painel onde você pode ver a experiência de terminal.
And this will work alongside you.
E isso funcionará junto com você.
On Cloud Desktop, you can also run Cloud Code.
No Cloud Desktop, você também pode executar o Cloud Code.
After you install Cloud Desktop and signed in, you will see a toggle at the top that says code.
Após instalar o Cloud Desktop e fazer login, você verá um botão de alternância no topo que diz 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.
A aparência é semelhante ao chat do Claude, mas permite que você trabalhe em uma pasta específica, altere permissões e até trabalhe em um ambiente cloud.
On the web, you can access Claude code by going to claude.ai/code.
Na web, você pode acessar o Claude code acessando claude.ai/code.
This works very similar to the desktop app.
Isso funciona de forma muito semelhante ao aplicativo desktop.
However, you're restricted to GitHub repositories only.
No entanto, você está limitado apenas a repositórios do GitHub.
If you want to constantly keep up to date with everything, the terminal is the best bet.
Se você quer se manter constantemente atualizado, o terminal é a melhor aposta.
Features ship there the fastest.
Os recursos chegam lá mais rapidamente.
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.
Na maioria das vezes, você terá experiências extremamente semelhantes com as integrações de IDE se quiser que o Claude code se sinta mais integrado ao seu editor de código favorito.
Desktop is great for letting Claude run in the background while you run other tasks.
Desktop é ótimo para deixar o Claude rodar em segundo plano enquanto você executa outras tarefas.
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 na web é uma ótima opção se você quer trabalhar remotamente em um projeto através de um repositório do GitHub ou ter várias sessões trabalhando em paralelo.
However, you want to use Claude code, it's up to you.
No entanto, como você quer usar o Claude code, é com você.