# Install import-local with npm

Let a globally installed package use a locally installed version of itself if available. Version 3.2.0 via npm; verified 2024-07-22.

## Install

```sh
sudo av install npm:import-local
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g import-local
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:import-local
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/import-local>
- **Version:** 3.2.0
- **Source summary:** Let a globally installed package use a locally installed version of itself if available
- **Homepage:** <https://github.com/sindresorhus/import-local#readme>
- **Repository:** <https://github.com/sindresorhus/import-local>
- **Upstream docs:** <https://github.com/sindresorhus/import-local#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz>
- **Issue tracker:** <https://github.com/sindresorhus/import-local/issues>
- **Published:** 2024-07-22T10:56:48.659Z
- **Last updated:** 2024-07-22T10:56:48.659Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- import-local-fixture (cli)
- import-local-fixture (alias)

## Dependencies

- pkg-dir
- resolve-cwd

## Build dependencies

- ava
- cpy
- del
- execa
- xo

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.2.0
- Package-manager updated: 2024-07-22
- Local data: ok
- Upstream repository: https://github.com/sindresorhus/import-local
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for import-local. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.2.0
- **Version Count:** 10
- **Maintainers:** sindresorhus
- **Author:** Sindre Sorhus
- **Publisher:** sindresorhus
- **Engines:** Node: >=8
- **Funding:** <https://github.com/sponsors/sindresorhus>
- **Integrity:** sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==
- **Shasum:** c3d5c745798c02a6f8b897726aba5100186ee260
- **Unpacked Size:** 4,730
- **File Count:** 0
- **Created At:** 2017-05-04T17:59:50.343Z
- **Latest Published At:** 2024-07-22T10:56:48.659Z
- **Modified At:** 2024-07-22T10:56:48.819Z


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Matched curated package taxonomy and local package facts.
- [np](https://www.automicvault.com/pkg/npm/np/) - Local package facts share a topical domain. Shared terms: globally, import, import-local, installed, local.
- [npm-check](https://www.automicvault.com/pkg/npm/npm-check/) - Local package facts share a topical domain. Shared terms: dir, global, pkg, pkg-dir.
- [import](https://www.automicvault.com/pkg/npm/import/) - Package names and metadata indicate a similar tool family. Shared terms: import.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
