node-ai-cli

0.2.2 • Public • Published

node-ai-cli

From NPM

Install from NPM by running

npm i -g node-ai-cli

setup from NPM

make a keys.js file in the root and put your API key in it. It is in the git ignore so it will never be committed to git.

../keys.js file

export const OPENAI_API_KEY='your-key-example';
export default OPENAI_API_KEY;

Run it

Now node-ai-cli can be used in your terminal or powershell, any where.

node-ai-cli

Install from src (clone of this repo)

Follow the setup to create keys.js then run from the node-ai-cli dir run npm install -g . the dot signifying this folder is the module and the node-ai-cli will be available.

npm i -g .

Package Sidebar

Install

npm i node-ai-cli

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

5.31 kB

Total Files

5

Last publish

Collaborators

  • riaevangelist