Install
Prerequisites
Before installing audiox, make sure you have FFmpeg installed on your system:
sh
# Using Homebrew
brew install ffmpeg
# Using MacPorts
port install ffmpegsh
sudo apt update
sudo apt install ffmpegsh
sudo yum install epel-release
sudo yum install ffmpegsh
# Using Chocolatey
choco install ffmpeg
# Using Scoop
scoop install ffmpegPackage Installation
Choose your package manager of choice:
sh
npm install --save-dev @stacksjs/audiox
# npm i -d @stacksjs/audiox
# or, install globally via
npm i -g @stacksjs/audioxsh
bun install --dev @stacksjs/audiox
# bun add --dev @stacksjs/audiox
# bun i -d @stacksjs/audiox
# or, install globally via
bun add --global @stacksjs/audioxsh
pnpm add --save-dev @stacksjs/audiox
# pnpm i -d @stacksjs/audiox
# or, install globally via
pnpm add --global @stacksjs/audioxsh
yarn add --dev @stacksjs/audiox
# yarn i -d @stacksjs/audiox
# or, install globally via
yarn global add @stacksjs/audioxsh
brew install audiox # coming soonsh
pkgx audiox # coming soonBinary Installation
Choose the binary that matches your platform and architecture:
sh
# Download the binary
curl -L https://github.com/stacksjs/audiox/releases/download/v0.9.1/audiox-darwin-arm64 -o audiox
# Make it executable
chmod +x audiox
# Move it to your PATH
mv audiox /usr/local/bin/audioxsh
# Download the binary
curl -L https://github.com/stacksjs/audiox/releases/download/v0.9.1/audiox-darwin-x64 -o audiox
# Make it executable
chmod +x audiox
# Move it to your PATH
mv audiox /usr/local/bin/audioxsh
# Download the binary
curl -L https://github.com/stacksjs/audiox/releases/download/v0.9.1/audiox-linux-arm64 -o audiox
# Make it executable
chmod +x audiox
# Move it to your PATH
mv audiox /usr/local/bin/audioxsh
# Download the binary
curl -L https://github.com/stacksjs/audiox/releases/download/v0.9.1/audiox-linux-x64 -o audiox
# Make it executable
chmod +x audiox
# Move it to your PATH
mv audiox /usr/local/bin/audioxsh
# Download the binary
curl -L https://github.com/stacksjs/audiox/releases/download/v0.9.1/audiox-windows-x64.exe -o audiox.exe
# Move it to your PATH (adjust the path as needed)
move audiox.exe C:\Windows\System32\audiox.exeTIP
You can also find the audiox binaries in GitHub releases.
Verifying Installation
After installation, verify that both audiox and ffmpeg are properly installed:
bash
# Check audiox version
audiox version
# Check ffmpeg version
ffmpeg -versionRead more about how to use it in the Usage section of the documentation.