Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"sdk command is not found " is coming the terminal

Tags:

sdkman

I installed sdkman in my mac machine and after completion of installation steps and when I tried for sdk to install lazybones in my computer, I am getting error as "sdk command is not found". If anybody have any solution, please let me know.

like image 869
sai krishna kota Avatar asked Jul 29 '17 18:07

sai krishna kota


2 Answers

Very simple in case you use MAC & OH MY ZSH

step 1:

vim ~/.zshrc

step 2:(Add at the end of the file)

source ~/.bash_profile;

step 3:(Execution shell)

> source ~/.bash_profile

You can use sdkman : ➜ sdk

We periodically need to update the local cache. Please run:

$ sdk update

...

BINGO!!!

like image 122
Cheikh Ahmadou Bamba DIOP Avatar answered Sep 16 '22 20:09

Cheikh Ahmadou Bamba DIOP


If you already installed SDK please close the terminal and open again.

if you haven't installed it open your terminal & write

curl -s https://get.sdkman.io | bash
like image 36
Abhishek Avatar answered Sep 18 '22 20:09

Abhishek