Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

GitHub - tzador/englishell: Translate plain english commands to shell commands and execute

Aug 10, 2023 - github.com
"Englishell" is a tool that allows users to execute shell commands by providing English instructions. It uses ChatGPT to interpret the instructions and generate the corresponding command. Users are advised to review the suggested commands before executing them. The tool provides examples of commands such as killing a process that listens to a specific port, printing the current git branch, showing the sizes of all folders in the parent directory, checking system uptime, generating a strong password, and printing all available terminal colors.

To use Englishell, Node > 16 and an OpenAI API Key are required. Users must also define the `OPENAI_API_KEY` environment variable. The tool can be tried out using the `npx englishell` command, and installed globally using npm. Once installed, it can be used with a global alias or a shorter alias. Examples of commands include printing a message, showing the current time without the date, and checking the current year.

Key takeaways:

  • Englishell is a tool that allows you to execute shell commands by providing English instructions, powered by ChatGPT.
  • You can use it to perform various tasks such as killing a process, printing the current git branch, showing the sizes of all folders in the parent directory, checking system uptime, generating a strong password, and printing all available terminal colors.
  • To use Englishell, Node > 16 must be installed with npm, and you must have an OpenAI API Key. The OPENAI_API_KEY environment variable must be defined.
  • Englishell can be installed globally using npm and can be used with a global alias or a shorter alias.
View Full Article

Comments (0)

Be the first to comment!