arrow_back Back to Notebook
linux/fish_terminal
linux/fish_terminal
February 17, 2019

How to add environment path to Fish terminal

This is how you add an environment path to Fish terminal

The short guide

npm config get prefix

/home/john/.npm-global

micro ~/.config/fish/config.fish

add the following

set PATH /home/john/.npm-global/bin $PATH

Thanks for reading!

John Wiseman

Full-Stack Software Engineer building scalable digital solutions. specializing in modern web technologies and mission-critical systems.

© 2026 Wiseman Systems Pty. Ltd.

Navigation

Start a Conversation

Ready to discuss your next project? Let's build something extraordinary together.

Get in Touch