Skip to content
Atuin

atuin scripts

Manage your scripts with Atuin

Terminal window
atuin scripts <COMMAND>
Terminal window
atuin scripts new [OPTIONS] <NAME>
  • <NAME>
  • -d <DESCRIPTION>, --description <DESCRIPTION>

  • -t <TAGS>, --tags <TAGS>: Can be repeated.

  • -s <SHEBANG>, --shebang <SHEBANG>

  • --script <SCRIPT>

  • --last <LAST>: Use the last command as the script content

    Optionally specify a number to use the last N commands

  • --no-edit: Skip opening editor when using —last

Terminal window
atuin scripts run [OPTIONS] <NAME>
  • <NAME>
  • -v <VAR>, --var <VAR>: Specify template variables in the format KEY=VALUE

    Example: -v name=John -v greeting=“Hello there”. Can be repeated.

Terminal window
atuin scripts list
Terminal window
atuin scripts get [OPTIONS] <NAME>
  • <NAME>
  • -s, --script: Display only the executable script with shebang
Terminal window
atuin scripts edit [OPTIONS] <NAME>
  • <NAME>
  • -d <DESCRIPTION>, --description <DESCRIPTION>
  • -t <TAGS>, --tags <TAGS>: Replace all existing tags with these new tags. Can be repeated.
  • --no-tags: Remove all tags from the script
  • --rename <RENAME>: Rename the script
  • -s <SHEBANG>, --shebang <SHEBANG>
  • --script <SCRIPT>
  • --no-edit: Skip opening editor
Terminal window
atuin scripts delete [OPTIONS] <NAME>
  • <NAME>
  • -f, --force