Get Started with Record.sh

Follow these steps to set up and use Record.sh to record your terminal sessions.

Setting Up Record.sh

To start using Record.sh, follow these steps:

1. Install Curl

Make sure you have curl installed on your system. If not, follow the installation instructions for your platform:

  • Ubuntu/Debian:
    sudo apt update
    sudo apt install curl
  • Fedora:
    sudo dnf install curl
  • Arch Linux:
    sudo pacman -S curl
  • OpenSUSE:
    sudo zypper install curl
  • Gentoo:
    sudo emerge -a net-misc/curl
  • Solus:
    sudo eopkg install curl
  • Alpine Linux:
    sudo apk add curl
  • Void Linux:
    sudo xbps-install -S curl
  • Slackware:
    sudo slackpkg install curl
  • Flatpak:
    flatpak install flathub org.curl
  • Snap:
    sudo snap install curl
  • RubyGems:
    gem install curl
  • Hannah Montana Linux:
    sudo hmtl-install curl

2. Inject Record.sh into .bashrc or .zshrc

Once curl is installed, set up Record.sh by running the appropriate commands:

For Bash Users
curl -s https://record-sh.vercel.app/record.sh >> ~/.bashrc
source ~/.bashrc
For Zsh Users
curl -s https://record-sh.vercel.app/record.sh >> ~/.zshrc
source ~/.zshrc

These commands will download the Record.sh script and append it to your .bashrc or .zshrc file, then reload the configuration file to apply the changes.

Using Record.sh

After installation, you can use the record command to start recording your terminal sessions. Simply type:

record

You can run this command from any directory. Ensure you have the necessary permissions and environment setup to execute it successfully.