{"id":21191849,"url":"https://github.com/edgeimpulse/ei-install-scripts","last_synced_at":"2025-05-07T18:10:29.493Z","repository":{"id":44751356,"uuid":"351845088","full_name":"edgeimpulse/ei-install-scripts","owner":"edgeimpulse","description":"Set up an environment for running the Edge Impulse CLI","archived":false,"fork":false,"pushed_at":"2025-02-25T12:59:16.000Z","size":72,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-30T21:46:03.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause-clear","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edgeimpulse.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}},"created_at":"2021-03-26T16:28:34.000Z","updated_at":"2025-02-25T12:59:20.000Z","dependencies_parsed_at":"2022-09-21T13:10:45.415Z","dependency_job_id":null,"html_url":"https://github.com/edgeimpulse/ei-install-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fei-install-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fei-install-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fei-install-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fei-install-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgeimpulse","download_url":"https://codeload.github.com/edgeimpulse/ei-install-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931555,"owners_count":21827112,"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":[],"created_at":"2024-11-20T19:05:57.542Z","updated_at":"2025-05-07T18:10:29.471Z","avatar_url":"https://github.com/edgeimpulse.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edge Impulse CLI Install Scripts\n\n## Quick Start\n\n### Windows\n\nOpen a Powershell window **with Administrator privileges** and run:\n\n```powershell\nSet-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr -Uri \"https://raw.githubusercontent.com/edgeimpulse/ei-install-scripts/main/install-windows.ps1\" -Outfile install.ps1; iex .\\install.ps1; del .\\install.ps1\n```\n\n## Using the repo\n\n[Install git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) for your OS, then clone this repo to your computer from a command line terminal (or from a PowerShell terminal on Windows):\n\n```sh\ngit clone https://github.com/edgeimpulse/ei-install-scripts.git\ncd ei-install-scripts\n```\n\nOr, [download this repository as a `.zip` file](https://github.com/edgeimpulse/ei-install-scripts/archive/refs/heads/main.zip) and unzip it locally, then from a command line terminal (or from a PowerShell terminal on Windows):\n\n```sh\ncd ei-install-scripts-main\n```\n\n### Linux/Ubuntu/Raspbian, etc.\n\nFrom a command line terminal run:\n\n```sh\n. ./install-linux.sh\n```\n\n### macOS\n\nFrom a command line terminal run:\n\n```sh\n. ./install-mac.sh\n```\n\n### Windows\n\nFrom a PowerShell terminal run:\n\n```powershell\nStart-Process powershell.exe -ArgumentList (\"-NoExit\",(\"cd {0}\" -f (Get-Location).path)) -Verb RunAs\n\u003c# Click Yes, then from the new PowerShell window, run: #\u003e\n.\\install-windows.ps1\n```\n\n## Troubleshooting\n\nIf you get the following error from `.\\install-windows.ps1`:\n\n```powershell\nPS C:\\Users\\jplun\\Repos\\ei-install-scripts\u003e .\\install-windows.ps1\n.\\install-windows.ps1 : File C:\\Users\\jplun\\Repos\\ei-install-scripts\\install-windows.ps1 cannot be loaded because\nrunning scripts is disabled on this system. For more information, see about_Execution_Policies at\nhttps:/go.microsoft.com/fwlink/?LinkID=135170.\nAt line:1 char:1\n+ .\\install-windows.ps1\n+ ~~~~~~~~~~~~~~~~~~~~~\n    + CategoryInfo          : SecurityError: (:) [], PSSecurityException\n    + FullyQualifiedErrorId : UnauthorizedAccess\n```\n\nThen instead run the script from an administrator PowerShell terminal with the following command: `powershell -ExecutionPolicy Bypass -File .\\install-windows.ps1`\n\n## Contributing to the repo\n\nThis repo uses github actions to run installer tests on windows (and soon) Mac and Linux. Tests run on every pull-request but you can also run tests on every push if you name your branch as `win-test*`, `mac-test*` or `linux-test*` respectively.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Fei-install-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeimpulse%2Fei-install-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Fei-install-scripts/lists"}