DYNA26: 27 April 2026. More info

Dyalog Quick Start Guide

Installation, Basics, and Your First Workflow

The following instructions should enable you to get started with a basic workflow in the Dyalog development environment.


Installing Dyalog


Installing Dyalog on Microsoft Windows

  • Download the installer, extract the contents, and double-click on setup*.exe. We strongly recommend installing with administrator privileges.
  • Starting Dyalog will launch the Dyalog for Microsoft Windows IDE.
More Information

Installing Dyalog on macOS

More Information

Installing Dyalog on Linux

  • Download the interpreter installer
  • Some desktop environments allow you to double click on the installer, otherwise:
    • DEB-based: sudo dpkg --install linux_64*.deb
    • RPM-based: sudo rpm --install linux_64*.rpm
  • Starting Dyalog will launch a TTY text-based interface
More Information

Optionally Install Dyalog Ride as the User Interface

More Information

Installing Dyalog on Raspberry Pi

This applies to 32-bit Dyalog on a 32-bit Raspberry Pi. For 64-bit Dyalog on a 64-bit Raspberry Pi, see the Linux installation instructions.

wget -O - https://packages.dyalog.com/dyalog-apt-key.gpg.key | sudo apt-key add -
CODENAME=$(lsb_release -sc)
echo "deb https://packages.dyalog.com ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/dyalog.list
sudo apt-get update
sudo apt-get install dyalog-unicode

If you chose to install Ride, starting Dyalog will launch Ride as the UI.

If you did not chose to install Ride, starting Dyalog will launch a TTY text-based interface.

More Information


    Add a header to begin generating the table of contents
      Add a header to begin generating the table of contents

      Using Dyalog

      The following information describes the basics of writing code and saving your work. For a more detailed walkthrough of installing Dyalog and beginning to use the development environments, see Chapter 2 of Mastering Dyalog APL.

      Interactive Session (REPL)

      When you start Dyalog, you are presented with a blank area with a text cursor. This is the Session window. From here you can interact with the interpreter. Type APL expressions (usually indented by 6 spaces) and press Enter to see their results:

            2 + 3
      5
      

      Video: Overview of the Dyalog IDE for Microsoft Windows

      XXX Couple of lines explaining what the Dyalog IDE is.

      Video thumbnail
      Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

      Video: Overview of Dyalog Ride (Remote IDE for Dyalog)

      XXX Couple of lines explaining what  Dyalog RIDE is.

      Video thumbnail
      Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

      Create, Trace, Edit, and Continue

      Type the name of your function and press Shift+Enter.

      You can now write the function’s definition. See the Mastering Dyalog APL chapter on User-defined Functions for details.

      Pressing Esc will close the editor and save your changes in the currently active workspace.

      Use Ctrl+Enter to trace through the function line-by-line.

      Video: Editing and Debugging Dyalog APL

      Video thumbnail
      Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

      Video: Useful (Keyboard) Shortcuts in the Dyalog IDE

      Video thumbnail
      Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

      Save Your Work

      Choose a directory in which to save your work:

            ]LINK.Create # /tmp/MyProject
      Linked: # ←→ C:\tmp\MyProject [directory was created]
      

      Whenever you make a change using the Editor (after closing it with Esc), a file will be created or updated in that directory.

      Note that:

      • variables and dfns defined using the assignment arrow in the session are not saved to a linked folder by default. Use ]LINK.Add mything to save the source for mything with your code.
      • tacit functions cannot be saved as text source, they must be wrapped in a tradfn or dfn.

      Video: Introduction to APL Namespaces

      Learn what # means in this video introduction to namespaces.

      Video thumbnail
      Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

      Quit Dyalog

      Use ⎕OFF or, click ✖ in the top-right corner, to exit Dyalog.

      Resume Your Work

      When you next start Dyalog, your can scroll up in the session log to see your previous input and output.

      Use ]LINK.Create # /tmp/MyProject again (you can click on the line from before and press Enter) to resume working on the code you saved earlier.

      CTA person here?

      This is the Learn Master Page. Mike knows this message is here…

      Get Support

      Technical advice and assistance on all aspects of Dyalog usage is available by e-mail (support@dyalog.com) and/or telephone (+44 1256 830030 – limited to U.K. office hours). Limited advice on design and coding is available, but is not intended to replace the use of the printed and on-line documentation. Except when reporting an issue with the software, users are encouraged to seek advice from the user community via the Dyalog Forum (reading the content of the forums does not require membership).

      Search our website...
      Dyalog Ltd