/yt-download

Primary LanguageTypeScript

Getting Started

To run the project in dev mode, use any of the following commands

yarn dev
# or
npx ts-node src/index.ts

Installing the Cli

  1. Build the project by running the following command:
npm run build

This will compile the TypeScript code to JavaScript and generate a dist directory containing the executable code. Note: If you are using a Unix-like operating system (like Mac or Linux), you will have to grant the dist/index.js the file permission to be executed

chmod +x dist/index.js
  1. Install the binary globally using the following command:
npm install -g .

This will install the yt-downloader command globally, so that you can run it from anywhere on your system.

  1. Test the installation by running the following command:
yt-download --help

Stay in touch

License

Nest is MIT licensed.