Skip to content

atinylittleshell/aicmd

Repository files navigation

AICMD

build

A CLI program that allows you to write shell commands using nautral language.

  • Always asks for confirmation before executing.
  • Supports all major OS and shells.
  • Usage is free. No fees whatsoever.

screenshot

Prerequisites

AICMD is based on Node.js. Install Node.js before proceeding. Minimum required version is Node.js 16.

Usage

Run it directly using npx:

npx aicmd create a javascript code file that prints hello world, and run it

Alternatively, install aicmd globally:

npm i -g aicmd

And then run it more easily each time:

aicmd create a javascript code file that prints hello world, and run it

Output:

echo console.log("Hello World!") > hello.js && node hello.js
Execute the command above? [y/N]

Disclaimers

  • Your command requests to aicmd are processed by a backend service hosted on Vercel, not locally on your computer. The source code of this backend service is also fully available in this repo.
  • Behind the scenes, we call OpenAI's API to generate the commands. Please see OpenAI's data usage policies for how OpenAI handles the data.
  • You are responsible for the consequence of executing the commands. Same as most AI-based tools, please be aware that AI can make mistakes and in this case it can give you commands that don't do what you expect. Please make sure you understand and have confidence in the commands being suggested before executing them.

Support me

Buy me a coffee

About

A CLI program that allows you to run shell commands using nautral language.

Topics

Resources

License

Stars

Watchers

Forks