Install Ondir On A Debian, Ubuntu, Kali, Raspbian And MacOS

Install Ondir On A Debian, Ubuntu, Kali, Raspbian And MacOS

ondir

Automate tasks specific to certain directories in the shell

Maintainer: Christian Seiler



Section: utils

Install ondir

  • Debian apt-get install ondir Click to copy
  • Ubuntu apt-get install ondir Click to copy
  • Kali Linux apt-get install ondir Click to copy
  • Raspbian apt-get install ondir Click to copy
  • macOS brew install ondir Click to copy

ondir

Automate tasks specific to certain directories in the shell

ondir is a small program to automate tasks specific to certain directories. It works by executing scripts in directories when you enter and leave them. It may be used to set environment variables or change the umask depending on the current working directory. This program is similar to the direnv package. In contrast to direnv, which expects the per-directory settings to be stored in the directory itself, ondir uses a central configuration file in the user's home directory, and can match directories based on patterns. ondir supports bash, zsh and fish out of the box.

Installing ondir command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali, Raspbian and macOS operating systems. Once you run the command it will install the latest version of ondir 2026 package in your OS.