If you don’t want to type this command every time you run Octave, you can put
it in a file called `.octaverc` in your home directory. This file will usually
be called `/home/USERNAME/.octaverc`.
be called `/Users/USERNAME/.octaverc`.
## Running and editing a Dynare example on macOS
1. Create a working directory that will hold your Dynare models. For example, `/home/USERNAME/work`.
1. Assuming that you are using Dynare {{ dynare_stable_version }}, copy the example model file `/Applications/Dynare/{{ dynare_stable_version }}/examples/example1.mod` to your working directory.
1. Create a working directory that will hold your Dynare models. For example, `/Users/USERNAME/work`.
1. Assuming that you are using Dynare {{ dynare_stable_version }}, copy the
example model file (either `/Applications/Dynare/{{ dynare_stable_version }}/examples/example1.mod` or `/usr/local/lib/dynare/examples/example1.mod`)
to your working directory.
1. At the MATLAB or Octave command prompt, type the following to change the working directory:
```
>> cd /home/USERNAME/work
>> cd /Users/USERNAME/work
```
1. Then type the following to run the example model file: