{"id":15168424,"url":"https://github.com/ryoppippi/fish-na","last_synced_at":"2025-10-07T12:49:07.390Z","repository":{"id":240056760,"uuid":"795660135","full_name":"ryoppippi/fish-na","owner":"ryoppippi","description":"@antfu/ni alternative written in fish shell using abbr feature","archived":false,"fork":false,"pushed_at":"2025-01-16T16:46:52.000Z","size":1474,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T21:53:36.353Z","etag":null,"topics":["bun","deno","fish","fisher","npm","pnpm","yarn"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryoppippi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ryoppippi"}},"created_at":"2024-05-03T18:45:25.000Z","updated_at":"2025-01-16T16:46:25.000Z","dependencies_parsed_at":"2024-06-11T10:16:32.335Z","dependency_job_id":"bad1928a-27fa-4cda-8741-39caef2bc7cf","html_url":"https://github.com/ryoppippi/fish-na","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.050000000000000044","last_synced_commit":"da0dae88379e75c61861355c7268a29060a43105"},"previous_names":["ryoppippi/na.fish","ryoppippi/fish-na"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ryoppippi/fish-na","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Ffish-na","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Ffish-na/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Ffish-na/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Ffish-na/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryoppippi","download_url":"https://codeload.github.com/ryoppippi/fish-na/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryoppippi%2Ffish-na/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278778960,"owners_count":26044256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","deno","fish","fisher","npm","pnpm","yarn"],"created_at":"2024-09-27T06:02:32.859Z","updated_at":"2025-10-07T12:49:07.347Z","avatar_url":"https://github.com/ryoppippi.png","language":"Shell","funding_links":["https://github.com/sponsors/ryoppippi"],"categories":[],"sub_categories":[],"readme":"# fish-na\n\n[@antfu/ni](https://github.com/antfu-collective/ni) alternative written in fish\nshell using abbr feature!\n\n![screen](./docs/screen.avif)\n\n## Features\n\n- Automatically detects the package manager (npm, yarn, pnpm, bun, deno) in the\n  current directory.\n\n## Requirements\n\n- fish shell\n- fzf (or your favorite fuzzy finder such as peco, skim, etc.)\n\n## Install\n\n1. Install with fisher\n\n```sh\nfisher install ryoppippi/fish-na\n```\n\n2. Configure your favorite abbrv ex:\n\n```fish\nabbr -a n -f _na\n```\n\n## Customization\n\nYou can customize the following options in your config.fish file:\n\n```fish\n# Set the fuzzy finder command to use (default: fzf)\nset -g NA_FUZZYFINDER sk\n\n# Set the fuzzy finder options\nset -g NA_FUZZYFINDER_OPTIONS\n\n# Set your favorite package manager list. You can customize the order. (default: npm pnpm bun yarn deno)\nset -g NA_PACKAGE_MANAGER_LIST bun deno pnpm yarn npm\n```\n\n## Recipies\n\n### Select package manager quickly with fzf\n\nSet options like this:\n\n```fish\nset -g NA_FUZZYFINDER fzf\nset -g NA_FUZZYFINDER_OPTIONS --bind 'one:accept' --query '^'\n```\n\nThese options are:\n\n- `--bind 'one:accept'` : Automatically select the first item if there is only\n  one item in the list.\n- `--query '^'` : Make query be matched from the beginning of the line, not\n  fuzzy search.\n\n![screen2](./docs/screen2.avif)\n\n## Usage\n\nJust type `n` (or your favorite abbr key) and hit space key, then the\nappropriate node/deno package manager command will be expanded.\n\n## Article\n[Zenn](https://zenn.dev/ryoppippi/articles/7709e0644a2259)\n\n## Inspired by\n\n- [@antfu/ni](https://github.com/antfu-collective/ni)\n- [azu/ni.zsh](https://github.com/azu/ni.zsh)\n- [Karibash/ni.fish](https://github.com/Karibash/ni.fish)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryoppippi%2Ffish-na","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryoppippi%2Ffish-na","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryoppippi%2Ffish-na/lists"}