---
title: "How to include a file in Erlang what is the command used?"  
description: "How to include a file in Erlang what is the command used?"  
author: "Sunil Singh"  
published: 2015-09-14  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/22825/how-to-include-a-file-in-erlang-what-is-the-command-used  
category: "erlang"  
tags: ["otp", "erlang"]  
reading_time: 1 minute  

---

# How to include a file in Erlang what is the command used?

A file can be included in Erlang using following way-\
• include (File).\
• include_lib (File).

## Answers

### Answer by Sunil Singh

A file can be included in Erlang using following way-\
• include (File).\
• include_lib (File).


---

Original Source: https://www.mindstick.com/interview/22825/how-to-include-a-file-in-erlang-what-is-the-command-used

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
