Optimize Command Line Usage with Amazon CodeWhisperer
Tags: awstoolkit, aws, commandline
Published: 2024-03-14 06:32:38

---
title: Optimize Command Line Usage with Amazon CodeWhisperer
published: true
date: 2024-03-13 05:12:23 UTC
tags: awstoolkit,aws,commandline
canonical_url: https://medium.com/bunhere/optimize-command-line-usage-with-amazon-codewhisperer-277e66ac0019
---

![Amazon CodeWhisperer for the command line](https://cdn-images-1.medium.com/max/1024/1*GZS3LNVei8pH_Xoy8XP5pg.png)

As a developer, the use of command-line commands to work from environment configuration to program execution is no longer unusual. For some people, remembering commands isn’t too hard, but using tools is also a way to support and increase performance.

I used to use [Fig](https://fig.io/).

![Amazon CodeWhisperer for the command line](https://cdn-images-1.medium.com/max/1024/1*A3FewjlhrzQE2fAnbv2Tpw.png)
_Fig_

[Fig](https://fig.io/user-manual/getting-started) helps users execute sentences faster with suggestions of sentences executed (and many other tasks). But I just got an e-mail from Fig about the shutdown, which is because the Fig team joined Amazon and created the [Amazon CodeWhisperer for command line](https://docs.aws.amazon.com/codewhisperer/latest/userguide/command-line-getting-started-installing.html) with core tasks from Fig and to use all the resources to concentrate on the CodeWisperer that’s one of the reasons why Fig stopped working.

![fig email](https://cdn-images-1.medium.com/max/1024/1*SNh37NnCmM_MAJ5Ke9xOpQ.png)
_Fig mail_

And to see what the CodeWhisperer has to do with it, let’s find out about it below!

### Learn and install CodeWhisperer.

### Difference between Fig and CodeWhisperer

CodeWhisperer for command line provides the core features of Fig, including:

1. Complete IDE-style syntax for over 500+ command-line tools (CLI).
2. Translate natural language to Bash.

_CodeWhisperer for command line is free for individual users and is designed to be faster, more reliable than Fig_. They have many interesting features to be released in CodeWhisperer for command line in 2024, including:

- Linux Support
- Talk to Who
- Inline AI completions
- Autocomplete in SSH
- Private autocomplete

Note: CodeWhisperer for command line does not include features similar to Fig Scripts, Dotfiles, Plugins or Servers, and they do not plan to support these features in the near future either.

### What’s the CodeWhisperer?

With the Fig team’s profound awareness of the impact AI has on developers, creating CodeWhisperer to replace Fig is understandable.

Amazon CodeWhisperer for command line is a code-writing tool using artificial intelligence. (AI). This tool increases efficiency and productivity for programmers by:

- Proposal Code/ Command Line
- Supports multiple programming languages
- Integrate with an integrated development environment (IDE)
- Accelerate software development: helps programmers focus more on software logic and architecture, rather than technical details.
- Improved code quality

Amazon CodeWhisperer for command line is a powerful and useful code-writing tool for command-line programmers. This tool helps you increase efficiency and productivity, minimize errors, and speed up software development.

You can find out more [here](https://docs.aws.amazon.com/codewhisperer/latest/userguide/command-line.html)

### Setup

To install CodeWhisperer, follow the steps below:

**Step 1**. Download CodeWhisperer for command line [here](https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/CodeWhisperer.dmg) CodeWhisperer only supports MAC @@

**Step 2**. Authentication

- For the CodeWhisperer individual user: Use the [Builder ID](https://docs.aws.amazon.com/general/latest/gr/aws_builder_id.html) to authenticate with CodeWisperer. You will receive the start URL of your AWS account.
- For CodeWhisperer Professional users: Use the [IAM Identity Center](https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html) to authenticate with CodeWisperer. You will receive the start URL of your AWS account.

**Step 3**. Follow the instructions to install the shell integration and grant access to macOS.

![access config](https://cdn-images-1.medium.com/max/1024/1*i-58LPMjpSr3604AwaHMgg.png)

![access config](https://cdn-images-1.medium.com/max/1024/1*ytcd2333pId8ueXmhv5OZQ.png)

#### Supported command line environments

CodeWhisperer for command line integrates with the following environments:

- Operating systems: macOS
- Shells: bash, zsh, fish
- Terminal emulators: iTerm2, macOS terminal, Hyper, Alacritty, Kitty, wezTerm
- IDEs: VS Code terminal, Jetbrains terminals (except Fleet)
- CLIs: 500+ of the most popular CLIs such as git, aws, docker, npm, yarn

#### Verifying your download

After you download CodeWhisperer for command line, you can verify its code signature as follows:

```
codesign -v /Applications/CodeWhisperer.app
```

If there is no output, then the app’s code signature is valid, and it has not been tampered with since it was signed.

Now you can access the CodeWhisperer and integrate it into the IDEs you want to use.

![dashboard](https://cdn-images-1.medium.com/max/1024/1*AyAaEmVMpOyLjp7E7sQzoA.png)

### Conclusion

The creation of tools makes us work faster, more productive. Personally, I don’t think it’s too embarrassing not to remember all the orders.

Welcome to your installation, and take advantage of the great features of Amazon CodeWhisperer for command line

If you like this post and my open source, don’t forget to give me support (clapp, upvote).

Author: [bunhere.com](https://bunhere.com/)

_I am always looking for feedback on my writing, so please let me know what you think._ ❤️

* * *