-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(darwin_arm64): update installs, zshrc
- Loading branch information
Showing
18 changed files
with
104 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/dash -e | ||
# Install or upgrade | ||
$RUN brew "$( { [ -z "$UPGRADE" ] && echo "install"; } || echo "upgrade" )" "$NAME" | ||
# Enable dash to use pyenv | ||
$RUN echo "PYENV_ROOT=$(pyenv root)" | sudo tee -a /etc/profile | ||
$RUN echo "eval \"\$(pyenv init -)\"" | sudo tee -a /etc/profile | ||
|
||
# This saves us the time of compiling Python on codespace startup | ||
$RUN echo "Installing global Python version" | ||
$RUN brew "$( { [ -z "$UPGRADE" ] && echo "install"; } || echo "upgrade" )" "[email protected]" | ||
# $RUN eval "$(pyenv init -)" | ||
# $RUN pyenv install 3.11.6 | ||
# $RUN pyenv global 3.11.6 | ||
# $RUN python -m pip install -U pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
#!/bin/dash -e | ||
# Install or upgrade | ||
$RUN brew "$( { [ -z "$UPGRADE" ] && echo "install"; } || echo "upgrade" )" "$NAME" | ||
# Enable dash to use nodenv | ||
$RUN echo "NODENV_ROOT=$(nodenv root)" | sudo tee -a /etc/profile | ||
$RUN echo "eval \"\$(nodenv init -)\"" | sudo tee -a /etc/profile | ||
|
||
# Install node16 by default | ||
if command -v nodenv &>/dev/null; then | ||
eval "$(nodenv init -)" | ||
eval "$(nodenv init --path)" | ||
nodenv install 16.13.2 | ||
nodenv global 16.13.2 | ||
fi | ||
$RUN echo "Installing global Node.js version" | ||
$RUN eval "$(nodenv init -)" | ||
$RUN nodenv install 18.18.2 | ||
$RUN nodenv install 20.9.0 | ||
$RUN nodenv global 20.9.0 |
Oops, something went wrong.