Allor Documentation v.2 Help

Work with Terminal

At many stages with the installation of ComfyUI and Allor you will have to interact with the terminal frequently, here you can learn how to use it.

If you are not yet familiar with the terminal or have never used it, you should realize one thing.

A terminal is simply a program that allows users to interact with a system using text commands. And a system is primarily a set of files.

For your convenience, you can think of it as a file manager.

On Unix systems, opening a terminal can vary greatly depending on the graphical environment and the default packages supplied in the distributions.

  • macOS: Pressing Cmd + Space opens Spotlight Search, where you can start typing Terminal and press Enter.

  • KDE: Pressing Alt + F2 opens the Run Command dialog where you can type konsole and press Enter.

  • Gnome: Pressing Alt + F2 opens the Run Command dialog where you can type gnome-terminal and press Enter.

  • Linux: In most Linux graphical environments, pressing Ctrl + Alt + T will open the default terminal.

But as a rule, this does not cause any difficulty.

    On Windows systems, you can open the Command Prompt in several ways. The last two are preferred.

    • With Start menu: Click the Start button, then start typing cmd or Command line.

    • With Run dialog: Press the Win+R key combination to open the Run dialog. Type cmd and press Enter.

    • With Explorer: Navigate to the folder you need, then type cmd in the address bar and press Enter. This will open the command line with the current directory set to the folder you selected.

    • With context menu: In Explorer, you can Right-Click + Shift and select Open command window here or Open PowerShell window here (depending on the version of Windows).

    Also, you do not need to run the terminal with administrator rights during the installation of ComfyUI or Allor.

      Now it's time to learn a few little commands that we will be working with when installing ComfyUI and Allor.

      pwd

      Show you your current directory

      ls

      Show all files and directories in current place

      cd dir_name

      Change directory to dir_name

      cd ..

      Change directory to upper level

      Pressing Tab

      Autocomplete, such as Com -> ComfyUI_windows_portable

        cd

        Show you your current directory

        dir

        Show all files and directories in current place

        A:

        Change current disk to A

        cd dir_name

        Change directory to dir_name

        cd ..

        Change directory to upper level

        Pressing Tab

        Autocomplete, such as Com -> ComfyUI_windows_portable

          And a couple more commands that you probably won't need during installation, but will be useful to know.

          mkdir dir_name

          Create a new directory dir_name

          rm file_name

          Remove file file_name

          rm -r dir_name

          Remove directory dir_name

          mv file_name new_file_name

          Rename file or directory from file_name to new_file_name

          mv file_name ..\file_name

          Move file or directory from current place to upper

            mkdir dir_name

            Create a new directory dir_name

            rm file_name

            Remove file file_name

            rd \s dir_name

            Remove directory dir_name

            ren file_name new_file_name

            Rename file or directory from file_name to new_file_name

            move file_name ..\

            Move file or directory from current place to upper

              Last modified: 04 December 2023