{"id":24504344,"url":"https://github.com/vegardit/scoop-portable","last_synced_at":"2025-07-20T08:34:22.636Z","repository":{"id":147157258,"uuid":"617687680","full_name":"vegardit/scoop-portable","owner":"vegardit","description":"Self-contained Windows batch file that installs/loads a portable scoop (https://scoop.sh) environment.","archived":false,"fork":false,"pushed_at":"2025-02-09T16:23:30.000Z","size":104,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-05T21:03:49.599Z","etag":null,"topics":["batch-script","install-script","portable","scoop","windows-batch"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vegardit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2023-03-22T22:40:47.000Z","updated_at":"2025-04-09T08:53:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"d481119d-3d8d-4fcf-a9e5-05d9011486de","html_url":"https://github.com/vegardit/scoop-portable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vegardit/scoop-portable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vegardit%2Fscoop-portable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vegardit%2Fscoop-portable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vegardit%2Fscoop-portable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vegardit%2Fscoop-portable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vegardit","download_url":"https://codeload.github.com/vegardit/scoop-portable/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vegardit%2Fscoop-portable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266092819,"owners_count":23875544,"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","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":["batch-script","install-script","portable","scoop","windows-batch"],"created_at":"2025-01-21T23:23:12.545Z","updated_at":"2025-07-20T08:34:22.612Z","avatar_url":"https://github.com/vegardit.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scoop-portable\n\n[![Build Status](https://github.com/vegardit/scoop-portable/workflows/Build/badge.svg \"GitHub Actions\")](https://github.com/vegardit/scoop-portable/actions?query=workflow%3A%22Build%22)\n[![License](https://img.shields.io/github/license/vegardit/scoop-portable.svg?label=license)](#license)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)\n\n1. [What is it?](#what-is-it)\n1. [License](#license)\n\n\n## \u003ca name=\"what-is-it\"\u003e\u003c/a\u003eWhat is it?\n\n\u003e **NOTE:** This project is _work-in-progress_, while it works fine with the apps we use, it may not yet work as expected with all apps installable via scoop. Pull requests are welcome!\n\n**scoop-portable** is an attempt to provide a true portable, \"non-invasive\" environment of the [scoop](https://scoop.sh/) command-line installer for the Windows Command Prompt.\n\nFor ease of distribution/use, it is implemented as a single self-contained Windows batch file.\n\nAdvantages over using \"regular\" scoop:\n- the scoop directory can be moved and live on an USB stick/external disk\n- installing/removing/resetting apps does not require restarting the command prompt\n- switching between different Java versions works seamlessly for the current and future sessions (https://github.com/ScoopInstaller/Java/wiki#switching-javas)\n- when installing the git package, all GNU commands at `apps\\git\\usr\\bin` are made available on PATH, i.e. no need to install additional packages like `coreutils`, `tar`, `vim`\n\nLimitations:\n- **scoop-portable** only works for the **Windows Command Prompt** and not for **PowerShell sessions**,\n  however using **scoop-portable** together with [clink](https://github.com/chrisant996/clink) (also installable via scoop) gives a great command line experience and productivity.\n- since the project strives for a purely portable environment, the following features/behaviours of **scoop** are disabled:\n  - installation of global apps is disabled.\n  - creation of start-menu entries.\n  - permanent changes to the global PATH variable or setting of permanent environment variables by **scoop** is prevented.\n\n![install](docs/img/load.png)\n\n\n## \u003ca name=\"install\"\u003e\u003c/a\u003eInstallation\n\n1. Get a copy of the batch file using one of these ways:\n   * Using old-school **Copy \u0026 Paste**:\n      1. Create a local **empty** directory where scoop shall be installed, e.g. `C:\\apps\\scoop-portable`\n      1. Download [scoop-portable.cmd](scoop-portable.cmd) file into that directory.\n   * Using **Git**:\n      1. Clone the project into a local directory, e.g.\n         ```batch\n         git clone https://github.com/vegardit/scoop-portable C:\\apps\\scoop-portable\n         ```\n2. (Optional) Customize the installation by creating a file called `scoop-portable-config.cmd` in the same directory.\n    See [scoop-portable-config.example.cmd](scoop-portable-config.example.cmd) as an example.\n3. Make sure the line break type is set to Windows (CR LF) via programs such as Notepad++ to prevent errors such as `The syntax of the command is incorrect`.\n4. Now execute `scoop-portable.cmd`.\n   - On the first execution, scoop and the selected packages will be installed in a `scoop` sub-directory and the scoop environment is initialized.\n\n![install](docs/img/install.png)\n\n\n## \u003ca name=\"usage\"\u003e\u003c/a\u003eUsage\n\nOnce installed, subsequent executions of `scoop-portable.cmd` load scoop environment:\n - either in the current command window if executed from the command line, or\n - a new command window is opened if executed via Windows Explorer or e.g. a Desktop shortcut.\n\nAn app installed in the `scoop-portable.cmd` can be launched from anywhere using: `scoop-portable.cmd \u003capp\u003e [app args]`\n\n\n## \u003ca name=\"license\"\u003e\u003c/a\u003eLicense\n\nAll files are released under the [Apache License 2.0](LICENSE.txt).\n\nIndividual files contain the following tag instead of the full license text:\n```\nSPDX-License-Identifier: Apache-2.0\n```\n\nThis enables machine processing of license information based on the SPDX License Identifiers that are available here: https://spdx.org/licenses/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvegardit%2Fscoop-portable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvegardit%2Fscoop-portable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvegardit%2Fscoop-portable/lists"}