Install the complete package with local command reference and every published mode.
install mdmdCreate a directory together with every missing path level and optionally set its permissions in the same command.
sandbox/tmp/first/second can create every missing level in the chain, and an octal mode can be applied at the same time. This is especially useful in deployment and .lil workflows where directory structure must be reproducible.
Create the whole directory path in one command, then move into it or create files inside it; there is no need to build each level separately.
md <path> [-MODE|-m MODE]md <path>create a directory (and any missing directories in the path)
md <path> -0755create the directory and set octal permissions
md <path> -m 0755set permissions in UNIX mode format (with the mode option)
The path is resolved from the current terminal directory. Existing files are never replaced by directories. After a successful change
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install mdInstall the reduced package. Local reference is omitted;
install md -mInstall exactly this published version.
install md -v 1.2.1Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade mdRemove the extension block while leaving the core and unrelated modules intact.
install md -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
cd \sandbox\tmp | md project/assets | md project/cache | cd projectproject/
assets/
project/
assets/
cache/
assets/
cache/md sandbox/tmp/private -0700tmp/
(private created; final mode 0700)md sandbox/tmp/public -m 0755tmp/
(public created; final mode 0755)md sandbox/tmp/first/second -0777tmp/
(directory chain created through first/second; final mode 0777)md \sandbox\README.txt\childDirectory creation failedsandbox/tmp/README.txtThe example uses a file or directory from the protected /sandbox/ documentation workspace.
lil-terminal sandbox temporary workspace
Commands in the public documentation use this directory for disposable copies,
archives, uploads and files created during examples. Review destructive commands
before running them and restore the sandbox from the release package when needed.
Documents creation of an entire missing directory chain and returns a compact flat directory view after success.