{"id":20638114,"url":"https://github.com/junip/switch","last_synced_at":"2026-02-18T19:31:18.530Z","repository":{"id":50235665,"uuid":"219677371","full_name":"junip/switch","owner":"junip","description":":sunglasses: :computer: Switch workspaces on the fly 🚀","archived":false,"fork":false,"pushed_at":"2025-02-06T04:19:53.000Z","size":10962,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T23:34:53.004Z","etag":null,"topics":["cd","change","change-directory","cli","hack","nodejs","switch","terminal"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/junip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-11-05T06:53:11.000Z","updated_at":"2025-02-06T04:19:56.000Z","dependencies_parsed_at":"2025-02-06T05:22:47.957Z","dependency_job_id":"fc04af41-bac1-46ab-8f15-2609c4b7dc4b","html_url":"https://github.com/junip/switch","commit_stats":null,"previous_names":["junipdewan/switch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/junip/switch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junip%2Fswitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junip%2Fswitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junip%2Fswitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junip%2Fswitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junip","download_url":"https://codeload.github.com/junip/switch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junip%2Fswitch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29591885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cd","change","change-directory","cli","hack","nodejs","switch","terminal"],"created_at":"2024-11-16T15:16:59.666Z","updated_at":"2026-02-18T19:31:18.494Z","avatar_url":"https://github.com/junip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# switch\n[![forthebadge](https://forthebadge.com/images/badges/made-with-javascript.svg)]() [![forthebadge](https://forthebadge.com/images/badges/built-with-swag.svg)](https://forthebadge.com) [![forthebadge](https://forthebadge.com/images/badges/powered-by-oxygen.svg)](https://forthebadge.com)\n\n![npm](https://img.shields.io/npm/dm/switchd) ![made with nodejs](https://img.shields.io/badge/madewith-node.js-green.svg) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![license](https://img.shields.io/github/license/visionmedia/superagent.svg)](LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=shields)](http://makeapullrequest.com)\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"assets/switch-icon.png\"  width=180 \u003e\n\u003c/div\u003e\n\n## Motivation\n\nWe often need to switch among different projects and it becomes hectic to change workspace or remember your workspace path so that you can instanly change to a different workspace from one workspace.\n\nSo the goal of this project is to minimize the effort of workspace change with tab's autocomplete or remembering project path. Meanwhile it gives you the flexibility to instantly switch among your dependent project/directory and do the necessary stuff in your terminal.\n\n### Forget typing `cd ..` \u0026 tab autocompletion or adding aliases for directories.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"assets/switch.gif\" height=\"300\" width=\"340\"\u003e\n\u003c/p\u003e\n\n## Install using NPM\n\nYou can use directly install the package using \n[NPM](https://www.npmjs.com/package/switch)  or  [YARN](https://yarnpkg.com/en/package/switch)\n\n```sh\n npm install -g switchd\n```\n```   \n yarn add switchd\n```\n\n### use the below command to get started\n\n```sh\n npx switchd\n```\n\n## Or By Cloning the repository\n\nInstall all dependency \n\n\n```sh\nnpm install \n```\n\n### Create the symlink. This command will help you execute `switch` commands at global level \n\n```\nnpm link or sudo npm link\n```\n\n## After install  \n\n### Run the following\n\nTo get the available commands\n```\nswitch --help \n```\n\n![](assets/switch-commands.png)\n\nYou need to add directory name \u0026 directory path first to start with.While adding directory give the full path using `pwd`\n\n```\nswitch -a\n```\n![](assets/add-directory.png)\n\nAfter adding switch to any workspace on the fly\n\n```\nswitch -d\n```\n\n![](assets/switch-dir.png)\n\n\n## Contribution\n\nWe hope that you will consider contributing to switch. Please read this short overview [Contribution Guidelines](https://github.com/junipdewan/switch/blob/master/CONTRIBUTING.md) for some information about how to get started \n\n## MIT License\n\n**switch** is available under the **MIT license**. See the [LICENSE](https://github.com/junipdewan/switch/blob/master/LICENSE) file for more info.\n\nCopyright (c) 2019 \u003cjunipd2@gmail.com\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunip%2Fswitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunip%2Fswitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunip%2Fswitch/lists"}