To run the project in dev mode, use any of the following commands
yarn dev
# or
npx ts-node src/index.ts
- 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
- 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.
- Test the installation by running the following command:
yt-download --help
- Author - Ikem Ezechukwu
- LinkedIn - https://www.linkedin.com/in/ikem-ezechukwu-547261109/
Nest is MIT licensed.