# userDirectory

### userDirectory

Generally referred to as your home directory.

On most platforms, this is the content of the HOME environment variable.

If you are going to do further manipulation of paths and files you should be aware of the following packages:

* [path](https://pub.dev/packages/path)
* [dcli\_core](https://pub.dev/packages/dcli_core)

Typical values are:

* Linux -  /home/myusername
* MacOS - /usres/username
* Windows - \user\username

### Example:

```dart
import "package:system_info2/system_info2.dart";

print("Home Directory          : ${SysInfo.userDirectory}");
```

{% hint style="info" %}
Please help expand the list of examples by raising an issue with examples on the [onpub.dev github site](https://github.com/onepub-dev/system_info).
{% endhint %}
