Next: Compiler installation, Previous: Software requirements, Up: Installation and configuration [Contents][Index]

### 2.2 Installation of Dynare

After installation, Dynare can be used in any directory on your computer. It is best practice to keep your model files in directories different from the one containing the Dynare toolbox. That way you can upgrade Dynare and discard the previous version without having to worry about your own files.

Next: On Debian GNU/Linux and Ubuntu, Up: Installation of Dynare [Contents][Index]

#### 2.2.1 On Windows

Execute the automated installer called `dynare-4.x.y-win.exe` (where 4.x.y is the version number), and follow the instructions. The default installation directory is `c:\dynare\4.x.y`.

After installation, this directory will contain several sub-directories, among which are `matlab`, `mex` and `doc`.

The installer will also add an entry in your Start Menu with a shortcut to the documentation files and uninstaller.

Note that you can have several versions of Dynare coexisting (for example in `c:\dynare`), as long as you correctly adjust your path settings (see Some words of warning).

Next: On macOS, Previous: On Windows, Up: Installation of Dynare [Contents][Index]

#### 2.2.2 On Debian GNU/Linux and Ubuntu

Please refer to the Dynare Wiki for detailed instructions.

Dynare will be installed under `/usr/lib/dynare`. Documentation will be under `/usr/share/doc/dynare-doc`.

Next: For other systems, Previous: On Debian GNU/Linux and Ubuntu, Up: Installation of Dynare [Contents][Index]

#### 2.2.3 On macOS

To install Dynare for use with Matlab, execute the automated installer called `dynare-4.x.y.pkg` (where 4.x.y is the version number), and follow the instructions. The default installation directory is `/Applications/Dynare/4.x.y` (please refer to the Dynare Wiki for detailed instructions).

After installation, this directory will contain several sub-directories, among which are `matlab`, `mex` and `doc`.

Note that several versions of Dynare can coexist (by default in `/Applications/Dynare`), as long as you correctly adjust your path settings (see Some words of warning).

To install Dynare for Octave, first install Homebrew following the instructions on their site: https://brew.sh/. Then install Octave, issuing the command `brew install octave` at the Terminal prompt. You can then install the latest stable version of Dynare by typing `brew install dynare` at the Terminal prompt. You can also pass options to the installation command. These options can be viewed by typing `brew info dynare` at the Terminal prompt.

Previous: On macOS, Up: Installation of Dynare [Contents][Index]

#### 2.2.4 For other systems

You need to download Dynare source code from the Dynare website and unpack it somewhere.

Then you will need to recompile the pre-processor and the dynamic loadable libraries. Please refer to README.md.

Previous: On macOS, Up: Installation of Dynare [Contents][Index]