File tree Expand file tree Collapse file tree
docs/docs/getting-started Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,15 +19,18 @@ del "%Temp%\install-devspace.bat"
1919** Note:** After running the install script, you should reopen the terminal window to refresh the environment variables.
2020
2121### For Linux
22- 1 . Run this install script with ** root privileges ** :
22+ 1 . Run the command :
2323``` bash
24- tmpdir=$( dirname $( mktemp -u) )
25- curl -s " https://raw.githubusercontent.com/covexo/devspace/master/scripts/installer-linux.sh" > " $tmpdir /install-devspace.sh"
26- " $tmpdir /install-devspace.sh" " /usr/bin/devspace"
27- rm -r " $tmpdir "
24+ curl --silent " https://api.github.com/repos/covexo/devspace/releases/latest" | sed -nr ' s!.*"(https://github.com[^"]*devspace-linux-amd64)".*!\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace && sudo mv devspace /usr/local/bin
25+ ```
26+
27+ ### For Mac
28+ 1 . Run the command:
29+ ``` bash
30+ curl --silent " https://api.github.com/repos/covexo/devspace/releases/latest" | sed -nr ' s!.*"(https://github.com[^"]*devspace-darwin-amd64)".*!\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace && sudo mv devspace /usr/local/bin
2831```
2932
3033## Binary Download
3134An alternative to the install scripts is to:
32351 . download the latest release from the [ GitHub releases page] ( https://github.com/covexo/devspace/releases )
33- 2 . add the binary folder path to the PATH environment variable ** OR** run ` PATH_TO_YOUR_RELEASE_FILE install ` with admin/root priveleges
36+ 2 . add the binary folder path to your PATH environment variable ** OR** run ` PATH_TO_YOUR_RELEASE_FILE install ` with admin/root priveleges
You can’t perform that action at this time.
0 commit comments