Skip to content

Commit 1472202

Browse files
committed
fix: install moon globally
1 parent 2e12383 commit 1472202

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "moonrepo",
33
"id": "moonrepo",
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"description": "Installs the moonrepo tool."
66
}

src/moonrepo/install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
set -ex
44

5-
curl -fsSL https://moonrepo.dev/install/moon.sh | bash
6-
7-
echo 'export PATH="$HOME/.moon/bin:$PATH"' >> "$HOME/.bashrc"
5+
curl -fsSL https://moonrepo.dev/install/moon.sh | MOON_INSTALL_DIR=/usr/local/bin bash

0 commit comments

Comments
 (0)