Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ set_filename() {

download_fnm() {
if [ "$USE_HOMEBREW" == "true" ]; then
brew install Schniz/tap/fnm > /dev/null
brew install fnm
else
if [ "$RELEASE" == "latest" ]; then
URL="https://github.com/Schniz/fnm/releases/latest/download/$FILENAME.zip"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/installation_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
- run: "sudo apt-get install -y ${{ matrix.shell }}"
name: Install ${{matrix.shell}} using apt-get
if: matrix.setup.os == 'ubuntu'
- run: "brew install ${{ matrix.shell }}"
name: Install ${{matrix.shell}} using Homebrew
- run: "brew update && brew install ${{ matrix.shell }}"
name: Update formulae and install ${{matrix.shell}} using Homebrew
if: matrix.setup.os == 'macos'
- run: |
if [ -f ~/.bashrc ]; then
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ curl -fsSL https://fnm.vercel.app/install | bash

#### Upgrade

On OSX, it is a simple as `brew upgrade Schniz/tap/fnm`.
On OSX, it is a simple as `brew upgrade fnm`.

On other operating systems, upgrading `fnm` is almost the same as installing it. To prevent duplication in your shell config file add `--skip-shell` to install command.

Expand Down Expand Up @@ -62,10 +62,8 @@ curl -fsSL https://fnm.vercel.app/install | bash -s -- --install-dir "./.fnm" --

#### Using Homebrew (OSX)

[This is a custom tap I'm maintaining](https://github.com/Schniz/homebrew-tap), and will be used until fnm will move to the official one.

```bash
brew install Schniz/tap/fnm
brew install fnm
```

Then apply the changes the installer prints, to set up your shell profile.
Expand Down