[Runtime
](../../../index.md)[Package Manager
](../../../pm/cli/install/index.md)[Bundler
](../../../bundler/index.md)[Test Runner
](../../../test/index.md)[Guides
](../../index.md)[Reference
](https://bun.com/reference)[Blog
](https://bun.com/blog)[Feedback
](../../../feedback/index.md)
Bun provides a handful of module-specific utilities on the import.meta object. Use import.meta.path to retrieve the absolute path of the current file.
/a/b/c.ts
import.meta.path; // => "/a/b/c.ts"
See Docs > API > import.meta for complete documentation.
Was this page helpful?
[
Get the file name of the current file
Previous
](../import-meta-file/index.md)[
Check if the current file is the entrypoint
Next
](../entrypoint/index.md)