© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
Jelle

❔ Getting cross-platform directories for storing data

Hey guys, I'm writing a CLI app with .NET 8 and I'm looking into storing config and caches on the filesystem.
I was wondering if there's some utility similar to this https://github.com/sindresorhus/env-paths#api that automatically picks the right path based on the OS and what the file is for?
GitHub
GitHub - sindresorhus/env-paths: Get paths for storing things like ...
Get paths for storing things like data, config, cache, etc - GitHub - sindresorhus/env-paths: Get paths for storing things like data, config, cache, etc
GitHub - sindresorhus/env-paths: Get paths for storing things like ...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Cross platform user settings for app.
C#CC# / help
3y ago
❔ Abusing Maui for Cross Platform XR
C#CC# / help
4y ago
❔ avalonia cross platform issue
C#CC# / help
3y ago
❔ Storing static data
C#CC# / help
3y ago