{"id":14069715,"url":"https://github.com/cpdt/slinky","last_synced_at":"2025-07-30T06:32:28.748Z","repository":{"id":121153043,"uuid":"56044626","full_name":"cpdt/slinky","owner":"cpdt","description":"Run Bash commands from Windows Command Prompt, natively!","archived":true,"fork":false,"pushed_at":"2017-04-13T18:11:07.000Z","size":51,"stargazers_count":18,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-04T11:37:45.622Z","etag":null,"topics":["bash","windows-subsystem-linux","wsl"],"latest_commit_sha":null,"homepage":null,"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/cpdt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2016-04-12T08:23:04.000Z","updated_at":"2023-07-30T13:33:00.000Z","dependencies_parsed_at":"2024-02-24T13:58:49.175Z","dependency_job_id":"b33308d7-ac81-467f-b1f9-54b21e9acf86","html_url":"https://github.com/cpdt/slinky","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/cpdt/slinky","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpdt%2Fslinky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpdt%2Fslinky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpdt%2Fslinky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpdt%2Fslinky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpdt","download_url":"https://codeload.github.com/cpdt/slinky/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpdt%2Fslinky/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267822660,"owners_count":24149663,"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-07-30T02:00:09.044Z","response_time":70,"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":["bash","windows-subsystem-linux","wsl"],"created_at":"2024-08-13T07:07:09.825Z","updated_at":"2025-07-30T06:32:28.457Z","avatar_url":"https://github.com/cpdt.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Slinky\n\n\u003e **Super Link, Yo** - Run native Linux commands from your Windows shell!\n\n![Using Slinky with vim](http://i.imgur.com/jcrOFYF.gif)\n\nSlinky allows you to run Linux commands in the Windows shell - instead of having to open up a Bash Windows implementation whenever you need to bash out some scripts, Slinky lets you run those commands straight from your Windows (or Powershell) command prompt.\n\n**Slinky requires an implementation of `bash` to be installed on your computer.** If you're running the Windows 10 Aniversary update or later, you can [use the in-built Ubuntu for Windows bash](http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/). Otherwise, install an alternate tool such as [Git Bash](https://git-for-windows.github.io/)/[MSYS Bash](http://www.mingw.org/wiki/msys) or [Cygwin](https://www.cygwin.com/).\n\n## Install\n\nTo install Slinky, run the following command in your Bash environment.\n\n```\nbash \u003c(curl https://raw.githubusercontent.com/cpdt/slinky/master/install.sh)\n```\n\n## Usage\n\nIn your Bash or Windows shell, run the command below to link a command in the Windows prompt to a Bash command (i.e running the command in the Windows prompt will actually run the Bash command).\n\n```bash\n$ slink [command name]\n```\n\nAlternatively, you can assign a different name to the Windows command by providing two parameters:\n\n```bash\n$ slink [windows command] [linux command]\n```\n\n\u003e **Example 1:**\n\u003e Link the `curl` command so it is runnable from Windows:\n\u003e ```bash\n\u003e C:\\\u003e slink curl\n\u003e C:\\\u003e curl ...etc...\n\u003e ```\n\u003e **Example 2:**\n\u003e Link Linux's `echo` command so it is runnable as `do-echo` from Windows:\n\u003e ```bash\n\u003e C:\\\u003e slink do-echo echo\n\u003e C:\\\u003e do-echo ...etc...\n\u003e ```\n\n#### Delete a link\n\nYou can delete a link with the `rmslink` command.\n\n```bash\n$ rmslink [windows command]\n```\n\n\u003e **Example 1:**\n\u003e Remove a link for the `curl` command:\n\u003e ```bash\n\u003e C:\\\u003e rmslink curl\n\u003e ```\n\u003e **Example 2:**\n\u003e Remove a link between Linux's `echo` command and the `do-echo` command on Windows:\n\u003e ```bash\n\u003e C:\\\u003e rmslink do-echo\n\u003e ```\n\n#### List all links\n\nYou can view a list of the Windows command names of all commands with the `lsslink` command.\n\n```bash\n$ lsslink\n```\n\n#### Uninstall Slinky\n\nTired of being awesome and want to go back to being a regular command-prompt user? The `delslink` command is for you! This command will, as the name suggests, delete Slinky and all related files from your computer. **Slinky links will not be kept around, so if you uninstall Slinky and then re-install, you will need to re-create all of your links.**\n\n```bash\n$ delslink\n```\n\n## FAQ\n\n**Can I create/remove/list Slinky links from the Bash shell?**\n\nYes - the Slinky commands are actually Bash script files, installed by default in `/usr/local/bin`. As a result, these commands will be available in the Bash shell as long as this installation directory is in your PATH.\n\n**Why does the GIF show vim being opened? Is slinky only for vim users?**\n\nNow you're just reading too far into the GIF :wink:. Vim is being used simply to demonstrate what Slinky does, but this doesn't mean you can't run `slink emacs` or `slink nano` or even `slink ed` and enjoy your favourite terminal editor on Windows.\n\n## License\n\nSlinky is licensed under the MIT license, included in the `LICENSE` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpdt%2Fslinky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpdt%2Fslinky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpdt%2Fslinky/lists"}